<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html lang="en">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <title>LCOV - ged.info - bind/bind.hpp</title>
  <link rel="stylesheet" type="text/css" href="../gcov.css">
</head>

<body>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
    <tr><td class="title">LTP GCOV extension - code coverage report</td></tr>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>

    <tr>
      <td width="100%">
        <table cellpadding=1 border=0 width="100%">
        <tr>
          <td class="headerItem" width="20%">Current&nbsp;view:</td>
          <td class="headerValue" width="80%" colspan=4><a href="../index.html">directory</a> - <a href="index.html">bind</a> - bind.hpp</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Test:</td>
          <td class="headerValue" width="80%" colspan=4>ged.info</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Date:</td>
          <td class="headerValue" width="20%">2009-06-09</td>
          <td width="20%"></td>
          <td class="headerItem" width="20%">Instrumented&nbsp;lines:</td>
          <td class="headerValue" width="20%">9</td>
        </tr>
        <tr>
          <td class="headerItem" width="20%">Code&nbsp;covered:</td>
          <td class="headerValue" width="20%">0.0 %</td>
          <td width="20%"></td>
          <td class="headerItem" width="20%">Executed&nbsp;lines:</td>
          <td class="headerValue" width="20%">0</td>
        </tr>
        </table>
      </td>
    </tr>
    <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
  </table>

  <table cellpadding=0 cellspacing=0 border=0>
    <tr>
      <td><br></td>
    </tr>
    <tr>
      <td><pre class="source">
<span class="lineNum">       1 </span>                : #ifndef BOOST_BIND_BIND_HPP_INCLUDED
<span class="lineNum">       2 </span>                : #define BOOST_BIND_BIND_HPP_INCLUDED
<span class="lineNum">       3 </span>                : 
<span class="lineNum">       4 </span>                : // MS compatible compilers support #pragma once
<span class="lineNum">       5 </span>                : 
<span class="lineNum">       6 </span>                : #if defined(_MSC_VER) &amp;&amp; (_MSC_VER &gt;= 1020)
<span class="lineNum">       7 </span>                : # pragma once
<span class="lineNum">       8 </span>                : #endif
<span class="lineNum">       9 </span>                : 
<span class="lineNum">      10 </span>                : //
<span class="lineNum">      11 </span>                : //  bind.hpp - binds function objects to arguments
<span class="lineNum">      12 </span>                : //
<span class="lineNum">      13 </span>                : //  Copyright (c) 2001-2004 Peter Dimov and Multi Media Ltd.
<span class="lineNum">      14 </span>                : //  Copyright (c) 2001 David Abrahams
<span class="lineNum">      15 </span>                : //  Copyright (c) 2005 Peter Dimov
<span class="lineNum">      16 </span>                : //
<span class="lineNum">      17 </span>                : // Distributed under the Boost Software License, Version 1.0. (See
<span class="lineNum">      18 </span>                : // accompanying file LICENSE_1_0.txt or copy at
<span class="lineNum">      19 </span>                : // http://www.boost.org/LICENSE_1_0.txt)
<span class="lineNum">      20 </span>                : //
<span class="lineNum">      21 </span>                : //  See http://www.boost.org/libs/bind/bind.html for documentation.
<span class="lineNum">      22 </span>                : //
<span class="lineNum">      23 </span>                : 
<span class="lineNum">      24 </span>                : #include &lt;boost/config.hpp&gt;
<span class="lineNum">      25 </span>                : #include &lt;boost/ref.hpp&gt;
<span class="lineNum">      26 </span>                : #include &lt;boost/mem_fn.hpp&gt;
<span class="lineNum">      27 </span>                : #include &lt;boost/type.hpp&gt;
<span class="lineNum">      28 </span>                : #include &lt;boost/is_placeholder.hpp&gt;
<span class="lineNum">      29 </span>                : #include &lt;boost/bind/arg.hpp&gt;
<span class="lineNum">      30 </span>                : #include &lt;boost/detail/workaround.hpp&gt;
<span class="lineNum">      31 </span>                : #include &lt;boost/visit_each.hpp&gt;
<span class="lineNum">      32 </span>                : 
<span class="lineNum">      33 </span>                : // Borland-specific bug, visit_each() silently fails to produce code
<span class="lineNum">      34 </span>                : 
<span class="lineNum">      35 </span>                : #if defined(__BORLANDC__)
<span class="lineNum">      36 </span>                : #  define BOOST_BIND_VISIT_EACH boost::visit_each
<span class="lineNum">      37 </span>                : #else
<span class="lineNum">      38 </span>                : #  define BOOST_BIND_VISIT_EACH visit_each
<span class="lineNum">      39 </span>                : #endif
<span class="lineNum">      40 </span>                : 
<span class="lineNum">      41 </span>                : #include &lt;boost/bind/storage.hpp&gt;
<span class="lineNum">      42 </span>                : 
<span class="lineNum">      43 </span>                : #ifdef BOOST_MSVC
<span class="lineNum">      44 </span>                : # pragma warning(push)
<span class="lineNum">      45 </span>                : # pragma warning(disable: 4512) // assignment operator could not be generated
<span class="lineNum">      46 </span>                : #endif
<span class="lineNum">      47 </span>                : 
<span class="lineNum">      48 </span>                : namespace boost
<span class="lineNum">      49 </span>                : {
<span class="lineNum">      50 </span>                : 
<span class="lineNum">      51 </span>                : template&lt;class T&gt; class weak_ptr;
<span class="lineNum">      52 </span>                : 
<span class="lineNum">      53 </span>                : namespace _bi // implementation details
<span class="lineNum">      54 </span>                : {
<span class="lineNum">      55 </span>                : 
<span class="lineNum">      56 </span>                : // result_traits
<span class="lineNum">      57 </span>                : 
<span class="lineNum">      58 </span>                : template&lt;class R, class F&gt; struct result_traits
<span class="lineNum">      59 </span>                : {
<span class="lineNum">      60 </span>                :     typedef R type;
<span class="lineNum">      61 </span>                : };
<span class="lineNum">      62 </span>                : 
<span class="lineNum">      63 </span>                : #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) &amp;&amp; !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING)
<span class="lineNum">      64 </span>                : 
<span class="lineNum">      65 </span>                : struct unspecified {};
<span class="lineNum">      66 </span>                : 
<span class="lineNum">      67 </span>                : template&lt;class F&gt; struct result_traits&lt;unspecified, F&gt;
<span class="lineNum">      68 </span>                : {
<span class="lineNum">      69 </span>                :     typedef typename F::result_type type;
<span class="lineNum">      70 </span>                : };
<span class="lineNum">      71 </span>                : 
<span class="lineNum">      72 </span>                : template&lt;class F&gt; struct result_traits&lt; unspecified, reference_wrapper&lt;F&gt; &gt;
<span class="lineNum">      73 </span>                : {
<span class="lineNum">      74 </span>                :     typedef typename F::result_type type;
<span class="lineNum">      75 </span>                : };
<span class="lineNum">      76 </span>                : 
<span class="lineNum">      77 </span>                : #endif
<span class="lineNum">      78 </span>                : 
<span class="lineNum">      79 </span>                : // ref_compare
<span class="lineNum">      80 </span>                : 
<span class="lineNum">      81 </span>                : template&lt;class T&gt; bool ref_compare( T const &amp; a, T const &amp; b, long )
<span class="lineNum">      82 </span>                : {
<span class="lineNum">      83 </span>                :     return a == b;
<span class="lineNum">      84 </span>                : }
<span class="lineNum">      85 </span>                : 
<span class="lineNum">      86 </span>                : template&lt;int I&gt; bool ref_compare( arg&lt;I&gt; const &amp;, arg&lt;I&gt; const &amp;, int )
<span class="lineNum">      87 </span>                : {
<span class="lineNum">      88 </span>                :     return true;
<span class="lineNum">      89 </span>                : }
<span class="lineNum">      90 </span>                : 
<span class="lineNum">      91 </span>                : template&lt;int I&gt; bool ref_compare( arg&lt;I&gt; (*) (), arg&lt;I&gt; (*) (), int )
<span class="lineNum">      92 </span>                : {
<span class="lineNum">      93 </span>                :     return true;
<span class="lineNum">      94 </span>                : }
<span class="lineNum">      95 </span>                : 
<span class="lineNum">      96 </span>                : template&lt;class T&gt; bool ref_compare( reference_wrapper&lt;T&gt; const &amp; a, reference_wrapper&lt;T&gt; const &amp; b, int )
<span class="lineNum">      97 </span>                : {
<span class="lineNum">      98 </span>                :     return a.get_pointer() == b.get_pointer();
<span class="lineNum">      99 </span>                : }
<span class="lineNum">     100 </span>                : 
<span class="lineNum">     101 </span>                : // bind_t forward declaration for listN
<span class="lineNum">     102 </span>                : 
<span class="lineNum">     103 </span>                : template&lt;class R, class F, class L&gt; class bind_t;
<span class="lineNum">     104 </span>                : 
<span class="lineNum">     105 </span>                : template&lt;class R, class F, class L&gt; bool ref_compare( bind_t&lt;R, F, L&gt; const &amp; a, bind_t&lt;R, F, L&gt; const &amp; b, int )
<span class="lineNum">     106 </span>                : {
<span class="lineNum">     107 </span>                :     return a.compare( b );
<span class="lineNum">     108 </span>                : }
<span class="lineNum">     109 </span>                : 
<span class="lineNum">     110 </span>                : // value
<span class="lineNum">     111 </span>                : 
<span class="lineNum">     112 </span>                : template&lt;class T&gt; class value
<span class="lineNum">     113 </span>                : {
<span class="lineNum">     114 </span>                : public:
<span class="lineNum">     115 </span>                : 
<span class="lineNum">     116 </span>                :     value(T const &amp; t): t_(t) {}
<span class="lineNum">     117 </span>                : 
<span class="lineNum">     118 </span>                :     T &amp; get() { return t_; }
<span class="lineNum">     119 </span>                :     T const &amp; get() const { return t_; }
<span class="lineNum">     120 </span>                : 
<span class="lineNum">     121 </span>                :     bool operator==(value const &amp; rhs) const
<span class="lineNum">     122 </span>                :     {
<span class="lineNum">     123 </span>                :         return t_ == rhs.t_;
<span class="lineNum">     124 </span>                :     }
<span class="lineNum">     125 </span>                : 
<span class="lineNum">     126 </span>                : private:
<span class="lineNum">     127 </span>                : 
<span class="lineNum">     128 </span>                :     T t_;
<span class="lineNum">     129 </span>                : };
<span class="lineNum">     130 </span>                : 
<span class="lineNum">     131 </span>                : // ref_compare for weak_ptr
<span class="lineNum">     132 </span>                : 
<span class="lineNum">     133 </span>                : template&lt;class T&gt; bool ref_compare( value&lt; weak_ptr&lt;T&gt; &gt; const &amp; a, value&lt; weak_ptr&lt;T&gt; &gt; const &amp; b, int )
<span class="lineNum">     134 </span>                : {
<span class="lineNum">     135 </span>                :     return !(a.get() &lt; b.get()) &amp;&amp; !(b.get() &lt; a.get());
<span class="lineNum">     136 </span>                : }
<span class="lineNum">     137 </span>                : 
<span class="lineNum">     138 </span>                : // type
<span class="lineNum">     139 </span>                : 
<span class="lineNum">     140 </span>                : template&lt;class T&gt; class type {};
<span class="lineNum">     141 </span>                : 
<span class="lineNum">     142 </span>                : // unwrap
<span class="lineNum">     143 </span>                : 
<span class="lineNum">     144 </span>                : template&lt;class F&gt; struct unwrapper
<span class="lineNum">     145 </span>                : {
<span class="lineNum">     146 </span><span class="lineNoCov">              0 :     static inline F &amp; unwrap( F &amp; f, long )</span>
<span class="lineNum">     147 </span>                :     {
<span class="lineNum">     148 </span><span class="lineNoCov">              0 :         return f;</span>
<span class="lineNum">     149 </span>                :     }
<span class="lineNum">     150 </span>                : 
<span class="lineNum">     151 </span>                :     template&lt;class F2&gt; static inline F2 &amp; unwrap( reference_wrapper&lt;F2&gt; rf, int )
<span class="lineNum">     152 </span>                :     {
<span class="lineNum">     153 </span>                :         return rf.get();
<span class="lineNum">     154 </span>                :     }
<span class="lineNum">     155 </span>                : 
<span class="lineNum">     156 </span>                :     template&lt;class R, class T&gt; static inline _mfi::dm&lt;R, T&gt; unwrap( R T::* pm, int )
<span class="lineNum">     157 </span>                :     {
<span class="lineNum">     158 </span>                :         return _mfi::dm&lt;R, T&gt;( pm );
<span class="lineNum">     159 </span>                :     }
<span class="lineNum">     160 </span>                : };
<span class="lineNum">     161 </span>                : 
<span class="lineNum">     162 </span>                : // listN
<span class="lineNum">     163 </span>                : 
<span class="lineNum">     164 </span>                : class list0
<span class="lineNum">     165 </span>                : {
<span class="lineNum">     166 </span>                : public:
<span class="lineNum">     167 </span>                : 
<span class="lineNum">     168 </span>                :     list0() {}
<span class="lineNum">     169 </span>                : 
<span class="lineNum">     170 </span>                :     template&lt;class T&gt; T &amp; operator[] (_bi::value&lt;T&gt; &amp; v) const { return v.get(); }
<span class="lineNum">     171 </span>                : 
<span class="lineNum">     172 </span>                :     template&lt;class T&gt; T const &amp; operator[] (_bi::value&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     173 </span>                : 
<span class="lineNum">     174 </span>                :     template&lt;class T&gt; T &amp; operator[] (reference_wrapper&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     175 </span>                : 
<span class="lineNum">     176 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; &amp; b) const { return b.eval(*this); }
<span class="lineNum">     177 </span>                : 
<span class="lineNum">     178 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; const &amp; b) const { return b.eval(*this); }
<span class="lineNum">     179 </span>                : 
<span class="lineNum">     180 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F &amp; f, A &amp;, long)
<span class="lineNum">     181 </span>                :     {
<span class="lineNum">     182 </span>                :         return unwrapper&lt;F&gt;::unwrap(f, 0)();
<span class="lineNum">     183 </span>                :     }
<span class="lineNum">     184 </span>                : 
<span class="lineNum">     185 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F const &amp; f, A &amp;, long) const
<span class="lineNum">     186 </span>                :     {
<span class="lineNum">     187 </span>                :         return unwrapper&lt;F const&gt;::unwrap(f, 0)();
<span class="lineNum">     188 </span>                :     }
<span class="lineNum">     189 </span>                : 
<span class="lineNum">     190 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F &amp; f, A &amp;, int)
<span class="lineNum">     191 </span>                :     {
<span class="lineNum">     192 </span>                :         unwrapper&lt;F&gt;::unwrap(f, 0)();
<span class="lineNum">     193 </span>                :     }
<span class="lineNum">     194 </span>                : 
<span class="lineNum">     195 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F const &amp; f, A &amp;, int) const
<span class="lineNum">     196 </span>                :     {
<span class="lineNum">     197 </span>                :         unwrapper&lt;F const&gt;::unwrap(f, 0)();
<span class="lineNum">     198 </span>                :     }
<span class="lineNum">     199 </span>                : 
<span class="lineNum">     200 </span>                :     template&lt;class V&gt; void accept(V &amp;) const
<span class="lineNum">     201 </span>                :     {
<span class="lineNum">     202 </span>                :     }
<span class="lineNum">     203 </span>                : 
<span class="lineNum">     204 </span>                :     bool operator==(list0 const &amp;) const
<span class="lineNum">     205 </span>                :     {
<span class="lineNum">     206 </span>                :         return true;
<span class="lineNum">     207 </span>                :     }
<span class="lineNum">     208 </span>                : };
<span class="lineNum">     209 </span>                : 
<span class="lineNum">     210 </span>                : template&lt; class A1 &gt; class list1: private storage1&lt; A1 &gt;
<span class="lineNum">     211 </span>                : {
<span class="lineNum">     212 </span>                : private:
<span class="lineNum">     213 </span>                : 
<span class="lineNum">     214 </span>                :     typedef storage1&lt; A1 &gt; base_type;
<span class="lineNum">     215 </span>                : 
<span class="lineNum">     216 </span>                : public:
<span class="lineNum">     217 </span>                : 
<span class="lineNum">     218 </span><span class="lineNoCov">              0 :     explicit list1( A1 a1 ): base_type( a1 ) {}</span>
<span class="lineNum">     219 </span>                : 
<span class="lineNum">     220 </span>                :     A1 operator[] (boost::arg&lt;1&gt;) const { return base_type::a1_; }
<span class="lineNum">     221 </span>                : 
<span class="lineNum">     222 </span><span class="lineNoCov">              0 :     A1 operator[] (boost::arg&lt;1&gt; (*) ()) const { return base_type::a1_; }</span>
<span class="lineNum">     223 </span>                : 
<span class="lineNum">     224 </span>                :     template&lt;class T&gt; T &amp; operator[] ( _bi::value&lt;T&gt; &amp; v ) const { return v.get(); }
<span class="lineNum">     225 </span>                : 
<span class="lineNum">     226 </span>                :     template&lt;class T&gt; T const &amp; operator[] ( _bi::value&lt;T&gt; const &amp; v ) const { return v.get(); }
<span class="lineNum">     227 </span>                : 
<span class="lineNum">     228 </span><span class="lineNoCov">              0 :     template&lt;class T&gt; T &amp; operator[] (reference_wrapper&lt;T&gt; const &amp; v) const { return v.get(); }</span>
<span class="lineNum">     229 </span>                : 
<span class="lineNum">     230 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; &amp; b) const { return b.eval(*this); }
<span class="lineNum">     231 </span>                : 
<span class="lineNum">     232 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; const &amp; b) const { return b.eval(*this); }
<span class="lineNum">     233 </span>                : 
<span class="lineNum">     234 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F &amp; f, A &amp; a, long)
<span class="lineNum">     235 </span>                :     {
<span class="lineNum">     236 </span>                :         return unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_]);
<span class="lineNum">     237 </span>                :     }
<span class="lineNum">     238 </span>                : 
<span class="lineNum">     239 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F const &amp; f, A &amp; a, long) const
<span class="lineNum">     240 </span>                :     {
<span class="lineNum">     241 </span>                :         return unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_]);
<span class="lineNum">     242 </span>                :     }
<span class="lineNum">     243 </span>                : 
<span class="lineNum">     244 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F &amp; f, A &amp; a, int)
<span class="lineNum">     245 </span>                :     {
<span class="lineNum">     246 </span>                :         unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_]);
<span class="lineNum">     247 </span>                :     }
<span class="lineNum">     248 </span>                : 
<span class="lineNum">     249 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F const &amp; f, A &amp; a, int) const
<span class="lineNum">     250 </span>                :     {
<span class="lineNum">     251 </span>                :         unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_]);
<span class="lineNum">     252 </span>                :     }
<span class="lineNum">     253 </span>                : 
<span class="lineNum">     254 </span>                :     template&lt;class V&gt; void accept(V &amp; v) const
<span class="lineNum">     255 </span>                :     {
<span class="lineNum">     256 </span>                :         base_type::accept(v);
<span class="lineNum">     257 </span>                :     }
<span class="lineNum">     258 </span>                : 
<span class="lineNum">     259 </span>                :     bool operator==(list1 const &amp; rhs) const
<span class="lineNum">     260 </span>                :     {
<span class="lineNum">     261 </span>                :         return ref_compare(base_type::a1_, rhs.a1_, 0);
<span class="lineNum">     262 </span>                :     }
<span class="lineNum">     263 </span>                : };
<span class="lineNum">     264 </span>                : 
<span class="lineNum">     265 </span>                : struct logical_and;
<span class="lineNum">     266 </span>                : struct logical_or;
<span class="lineNum">     267 </span>                : 
<span class="lineNum">     268 </span>                : template&lt; class A1, class A2 &gt; class list2: private storage2&lt; A1, A2 &gt;
<span class="lineNum">     269 </span>                : {
<span class="lineNum">     270 </span>                : private:
<span class="lineNum">     271 </span>                : 
<span class="lineNum">     272 </span>                :     typedef storage2&lt; A1, A2 &gt; base_type;
<span class="lineNum">     273 </span>                : 
<span class="lineNum">     274 </span>                : public:
<span class="lineNum">     275 </span>                : 
<span class="lineNum">     276 </span><span class="lineNoCov">              0 :     list2( A1 a1, A2 a2 ): base_type( a1, a2 ) {}</span>
<span class="lineNum">     277 </span>                : 
<span class="lineNum">     278 </span>                :     A1 operator[] (boost::arg&lt;1&gt;) const { return base_type::a1_; }
<span class="lineNum">     279 </span>                :     A2 operator[] (boost::arg&lt;2&gt;) const { return base_type::a2_; }
<span class="lineNum">     280 </span>                : 
<span class="lineNum">     281 </span>                :     A1 operator[] (boost::arg&lt;1&gt; (*) ()) const { return base_type::a1_; }
<span class="lineNum">     282 </span>                :     A2 operator[] (boost::arg&lt;2&gt; (*) ()) const { return base_type::a2_; }
<span class="lineNum">     283 </span>                : 
<span class="lineNum">     284 </span>                :     template&lt;class T&gt; T &amp; operator[] (_bi::value&lt;T&gt; &amp; v) const { return v.get(); }
<span class="lineNum">     285 </span>                : 
<span class="lineNum">     286 </span>                :     template&lt;class T&gt; T const &amp; operator[] (_bi::value&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     287 </span>                : 
<span class="lineNum">     288 </span>                :     template&lt;class T&gt; T &amp; operator[] (reference_wrapper&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     289 </span>                : 
<span class="lineNum">     290 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; &amp; b) const { return b.eval(*this); }
<span class="lineNum">     291 </span>                : 
<span class="lineNum">     292 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; const &amp; b) const { return b.eval(*this); }
<span class="lineNum">     293 </span>                : 
<span class="lineNum">     294 </span><span class="lineNoCov">              0 :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F &amp; f, A &amp; a, long)</span>
<span class="lineNum">     295 </span>                :     {
<span class="lineNum">     296 </span><span class="lineNoCov">              0 :         return unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]);</span>
<span class="lineNum">     297 </span>                :     }
<span class="lineNum">     298 </span>                : 
<span class="lineNum">     299 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F const &amp; f, A &amp; a, long) const
<span class="lineNum">     300 </span>                :     {
<span class="lineNum">     301 </span>                :         return unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]);
<span class="lineNum">     302 </span>                :     }
<span class="lineNum">     303 </span>                : 
<span class="lineNum">     304 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F &amp; f, A &amp; a, int)
<span class="lineNum">     305 </span>                :     {
<span class="lineNum">     306 </span>                :         unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]);
<span class="lineNum">     307 </span>                :     }
<span class="lineNum">     308 </span>                : 
<span class="lineNum">     309 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F const &amp; f, A &amp; a, int) const
<span class="lineNum">     310 </span>                :     {
<span class="lineNum">     311 </span>                :         unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_]);
<span class="lineNum">     312 </span>                :     }
<span class="lineNum">     313 </span>                : 
<span class="lineNum">     314 </span>                :     template&lt;class A&gt; bool operator()( type&lt;bool&gt;, logical_and &amp; /*f*/, A &amp; a, int )
<span class="lineNum">     315 </span>                :     {
<span class="lineNum">     316 </span>                :         return a[ base_type::a1_ ] &amp;&amp; a[ base_type::a2_ ];
<span class="lineNum">     317 </span>                :     }
<span class="lineNum">     318 </span>                : 
<span class="lineNum">     319 </span>                :     template&lt;class A&gt; bool operator()( type&lt;bool&gt;, logical_and const &amp; /*f*/, A &amp; a, int ) const
<span class="lineNum">     320 </span>                :     {
<span class="lineNum">     321 </span>                :         return a[ base_type::a1_ ] &amp;&amp; a[ base_type::a2_ ];
<span class="lineNum">     322 </span>                :     }
<span class="lineNum">     323 </span>                : 
<span class="lineNum">     324 </span>                :     template&lt;class A&gt; bool operator()( type&lt;bool&gt;, logical_or &amp; /*f*/, A &amp; a, int )
<span class="lineNum">     325 </span>                :     {
<span class="lineNum">     326 </span>                :         return a[ base_type::a1_ ] || a[ base_type::a2_ ];
<span class="lineNum">     327 </span>                :     }
<span class="lineNum">     328 </span>                : 
<span class="lineNum">     329 </span>                :     template&lt;class A&gt; bool operator()( type&lt;bool&gt;, logical_or const &amp; /*f*/, A &amp; a, int ) const
<span class="lineNum">     330 </span>                :     {
<span class="lineNum">     331 </span>                :         return a[ base_type::a1_ ] || a[ base_type::a2_ ];
<span class="lineNum">     332 </span>                :     }
<span class="lineNum">     333 </span>                : 
<span class="lineNum">     334 </span>                :     template&lt;class V&gt; void accept(V &amp; v) const
<span class="lineNum">     335 </span>                :     {
<span class="lineNum">     336 </span>                :         base_type::accept(v);
<span class="lineNum">     337 </span>                :     }
<span class="lineNum">     338 </span>                : 
<span class="lineNum">     339 </span>                :     bool operator==(list2 const &amp; rhs) const
<span class="lineNum">     340 </span>                :     {
<span class="lineNum">     341 </span>                :         return ref_compare(base_type::a1_, rhs.a1_, 0) &amp;&amp; ref_compare(base_type::a2_, rhs.a2_, 0);
<span class="lineNum">     342 </span>                :     }
<span class="lineNum">     343 </span>                : };
<span class="lineNum">     344 </span>                : 
<span class="lineNum">     345 </span>                : template&lt; class A1, class A2, class A3 &gt; class list3: private storage3&lt; A1, A2, A3 &gt;
<span class="lineNum">     346 </span>                : {
<span class="lineNum">     347 </span>                : private:
<span class="lineNum">     348 </span>                : 
<span class="lineNum">     349 </span>                :     typedef storage3&lt; A1, A2, A3 &gt; base_type;
<span class="lineNum">     350 </span>                : 
<span class="lineNum">     351 </span>                : public:
<span class="lineNum">     352 </span>                : 
<span class="lineNum">     353 </span>                :     list3( A1 a1, A2 a2, A3 a3 ): base_type( a1, a2, a3 ) {}
<span class="lineNum">     354 </span>                : 
<span class="lineNum">     355 </span>                :     A1 operator[] (boost::arg&lt;1&gt;) const { return base_type::a1_; }
<span class="lineNum">     356 </span>                :     A2 operator[] (boost::arg&lt;2&gt;) const { return base_type::a2_; }
<span class="lineNum">     357 </span>                :     A3 operator[] (boost::arg&lt;3&gt;) const { return base_type::a3_; }
<span class="lineNum">     358 </span>                : 
<span class="lineNum">     359 </span>                :     A1 operator[] (boost::arg&lt;1&gt; (*) ()) const { return base_type::a1_; }
<span class="lineNum">     360 </span>                :     A2 operator[] (boost::arg&lt;2&gt; (*) ()) const { return base_type::a2_; }
<span class="lineNum">     361 </span>                :     A3 operator[] (boost::arg&lt;3&gt; (*) ()) const { return base_type::a3_; }
<span class="lineNum">     362 </span>                : 
<span class="lineNum">     363 </span>                :     template&lt;class T&gt; T &amp; operator[] (_bi::value&lt;T&gt; &amp; v) const { return v.get(); }
<span class="lineNum">     364 </span>                : 
<span class="lineNum">     365 </span>                :     template&lt;class T&gt; T const &amp; operator[] (_bi::value&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     366 </span>                : 
<span class="lineNum">     367 </span>                :     template&lt;class T&gt; T &amp; operator[] (reference_wrapper&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     368 </span>                : 
<span class="lineNum">     369 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; &amp; b) const { return b.eval(*this); }
<span class="lineNum">     370 </span>                : 
<span class="lineNum">     371 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; const &amp; b) const { return b.eval(*this); }
<span class="lineNum">     372 </span>                : 
<span class="lineNum">     373 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F &amp; f, A &amp; a, long)
<span class="lineNum">     374 </span>                :     {
<span class="lineNum">     375 </span>                :         return unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_]);
<span class="lineNum">     376 </span>                :     }
<span class="lineNum">     377 </span>                : 
<span class="lineNum">     378 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F const &amp; f, A &amp; a, long) const
<span class="lineNum">     379 </span>                :     {
<span class="lineNum">     380 </span>                :         return unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_]);
<span class="lineNum">     381 </span>                :     }
<span class="lineNum">     382 </span>                : 
<span class="lineNum">     383 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F &amp; f, A &amp; a, int)
<span class="lineNum">     384 </span>                :     {
<span class="lineNum">     385 </span>                :         unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_]);
<span class="lineNum">     386 </span>                :     }
<span class="lineNum">     387 </span>                : 
<span class="lineNum">     388 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F const &amp; f, A &amp; a, int) const
<span class="lineNum">     389 </span>                :     {
<span class="lineNum">     390 </span>                :         unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_]);
<span class="lineNum">     391 </span>                :     }
<span class="lineNum">     392 </span>                : 
<span class="lineNum">     393 </span>                :     template&lt;class V&gt; void accept(V &amp; v) const
<span class="lineNum">     394 </span>                :     {
<span class="lineNum">     395 </span>                :         base_type::accept(v);
<span class="lineNum">     396 </span>                :     }
<span class="lineNum">     397 </span>                : 
<span class="lineNum">     398 </span>                :     bool operator==(list3 const &amp; rhs) const
<span class="lineNum">     399 </span>                :     {
<span class="lineNum">     400 </span>                :         return
<span class="lineNum">     401 </span>                :             
<span class="lineNum">     402 </span>                :             ref_compare( base_type::a1_, rhs.a1_, 0 ) &amp;&amp;
<span class="lineNum">     403 </span>                :             ref_compare( base_type::a2_, rhs.a2_, 0 ) &amp;&amp;
<span class="lineNum">     404 </span>                :             ref_compare( base_type::a3_, rhs.a3_, 0 );
<span class="lineNum">     405 </span>                :     }
<span class="lineNum">     406 </span>                : };
<span class="lineNum">     407 </span>                : 
<span class="lineNum">     408 </span>                : template&lt; class A1, class A2, class A3, class A4 &gt; class list4: private storage4&lt; A1, A2, A3, A4 &gt;
<span class="lineNum">     409 </span>                : {
<span class="lineNum">     410 </span>                : private:
<span class="lineNum">     411 </span>                : 
<span class="lineNum">     412 </span>                :     typedef storage4&lt; A1, A2, A3, A4 &gt; base_type;
<span class="lineNum">     413 </span>                : 
<span class="lineNum">     414 </span>                : public:
<span class="lineNum">     415 </span>                : 
<span class="lineNum">     416 </span>                :     list4( A1 a1, A2 a2, A3 a3, A4 a4 ): base_type( a1, a2, a3, a4 ) {}
<span class="lineNum">     417 </span>                : 
<span class="lineNum">     418 </span>                :     A1 operator[] (boost::arg&lt;1&gt;) const { return base_type::a1_; }
<span class="lineNum">     419 </span>                :     A2 operator[] (boost::arg&lt;2&gt;) const { return base_type::a2_; }
<span class="lineNum">     420 </span>                :     A3 operator[] (boost::arg&lt;3&gt;) const { return base_type::a3_; }
<span class="lineNum">     421 </span>                :     A4 operator[] (boost::arg&lt;4&gt;) const { return base_type::a4_; }
<span class="lineNum">     422 </span>                : 
<span class="lineNum">     423 </span>                :     A1 operator[] (boost::arg&lt;1&gt; (*) ()) const { return base_type::a1_; }
<span class="lineNum">     424 </span>                :     A2 operator[] (boost::arg&lt;2&gt; (*) ()) const { return base_type::a2_; }
<span class="lineNum">     425 </span>                :     A3 operator[] (boost::arg&lt;3&gt; (*) ()) const { return base_type::a3_; }
<span class="lineNum">     426 </span>                :     A4 operator[] (boost::arg&lt;4&gt; (*) ()) const { return base_type::a4_; }
<span class="lineNum">     427 </span>                : 
<span class="lineNum">     428 </span>                :     template&lt;class T&gt; T &amp; operator[] (_bi::value&lt;T&gt; &amp; v) const { return v.get(); }
<span class="lineNum">     429 </span>                : 
<span class="lineNum">     430 </span>                :     template&lt;class T&gt; T const &amp; operator[] (_bi::value&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     431 </span>                : 
<span class="lineNum">     432 </span>                :     template&lt;class T&gt; T &amp; operator[] (reference_wrapper&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     433 </span>                : 
<span class="lineNum">     434 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; &amp; b) const { return b.eval(*this); }
<span class="lineNum">     435 </span>                : 
<span class="lineNum">     436 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; const &amp; b) const { return b.eval(*this); }
<span class="lineNum">     437 </span>                : 
<span class="lineNum">     438 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F &amp; f, A &amp; a, long)
<span class="lineNum">     439 </span>                :     {
<span class="lineNum">     440 </span>                :         return unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_]);
<span class="lineNum">     441 </span>                :     }
<span class="lineNum">     442 </span>                : 
<span class="lineNum">     443 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F const &amp; f, A &amp; a, long) const
<span class="lineNum">     444 </span>                :     {
<span class="lineNum">     445 </span>                :         return unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_]);
<span class="lineNum">     446 </span>                :     }
<span class="lineNum">     447 </span>                : 
<span class="lineNum">     448 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F &amp; f, A &amp; a, int)
<span class="lineNum">     449 </span>                :     {
<span class="lineNum">     450 </span>                :         unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_]);
<span class="lineNum">     451 </span>                :     }
<span class="lineNum">     452 </span>                : 
<span class="lineNum">     453 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F const &amp; f, A &amp; a, int) const
<span class="lineNum">     454 </span>                :     {
<span class="lineNum">     455 </span>                :         unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_]);
<span class="lineNum">     456 </span>                :     }
<span class="lineNum">     457 </span>                : 
<span class="lineNum">     458 </span>                :     template&lt;class V&gt; void accept(V &amp; v) const
<span class="lineNum">     459 </span>                :     {
<span class="lineNum">     460 </span>                :         base_type::accept(v);
<span class="lineNum">     461 </span>                :     }
<span class="lineNum">     462 </span>                : 
<span class="lineNum">     463 </span>                :     bool operator==(list4 const &amp; rhs) const
<span class="lineNum">     464 </span>                :     {
<span class="lineNum">     465 </span>                :         return
<span class="lineNum">     466 </span>                : 
<span class="lineNum">     467 </span>                :             ref_compare( base_type::a1_, rhs.a1_, 0 ) &amp;&amp;
<span class="lineNum">     468 </span>                :             ref_compare( base_type::a2_, rhs.a2_, 0 ) &amp;&amp;
<span class="lineNum">     469 </span>                :             ref_compare( base_type::a3_, rhs.a3_, 0 ) &amp;&amp;
<span class="lineNum">     470 </span>                :             ref_compare( base_type::a4_, rhs.a4_, 0 );
<span class="lineNum">     471 </span>                :     }
<span class="lineNum">     472 </span>                : };
<span class="lineNum">     473 </span>                : 
<span class="lineNum">     474 </span>                : template&lt; class A1, class A2, class A3, class A4, class A5 &gt; class list5: private storage5&lt; A1, A2, A3, A4, A5 &gt;
<span class="lineNum">     475 </span>                : {
<span class="lineNum">     476 </span>                : private:
<span class="lineNum">     477 </span>                : 
<span class="lineNum">     478 </span>                :     typedef storage5&lt; A1, A2, A3, A4, A5 &gt; base_type;
<span class="lineNum">     479 </span>                : 
<span class="lineNum">     480 </span>                : public:
<span class="lineNum">     481 </span>                : 
<span class="lineNum">     482 </span>                :     list5( A1 a1, A2 a2, A3 a3, A4 a4, A5 a5 ): base_type( a1, a2, a3, a4, a5 ) {}
<span class="lineNum">     483 </span>                : 
<span class="lineNum">     484 </span>                :     A1 operator[] (boost::arg&lt;1&gt;) const { return base_type::a1_; }
<span class="lineNum">     485 </span>                :     A2 operator[] (boost::arg&lt;2&gt;) const { return base_type::a2_; }
<span class="lineNum">     486 </span>                :     A3 operator[] (boost::arg&lt;3&gt;) const { return base_type::a3_; }
<span class="lineNum">     487 </span>                :     A4 operator[] (boost::arg&lt;4&gt;) const { return base_type::a4_; }
<span class="lineNum">     488 </span>                :     A5 operator[] (boost::arg&lt;5&gt;) const { return base_type::a5_; }
<span class="lineNum">     489 </span>                : 
<span class="lineNum">     490 </span>                :     A1 operator[] (boost::arg&lt;1&gt; (*) ()) const { return base_type::a1_; }
<span class="lineNum">     491 </span>                :     A2 operator[] (boost::arg&lt;2&gt; (*) ()) const { return base_type::a2_; }
<span class="lineNum">     492 </span>                :     A3 operator[] (boost::arg&lt;3&gt; (*) ()) const { return base_type::a3_; }
<span class="lineNum">     493 </span>                :     A4 operator[] (boost::arg&lt;4&gt; (*) ()) const { return base_type::a4_; }
<span class="lineNum">     494 </span>                :     A5 operator[] (boost::arg&lt;5&gt; (*) ()) const { return base_type::a5_; }
<span class="lineNum">     495 </span>                : 
<span class="lineNum">     496 </span>                :     template&lt;class T&gt; T &amp; operator[] (_bi::value&lt;T&gt; &amp; v) const { return v.get(); }
<span class="lineNum">     497 </span>                : 
<span class="lineNum">     498 </span>                :     template&lt;class T&gt; T const &amp; operator[] (_bi::value&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     499 </span>                : 
<span class="lineNum">     500 </span>                :     template&lt;class T&gt; T &amp; operator[] (reference_wrapper&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     501 </span>                : 
<span class="lineNum">     502 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; &amp; b) const { return b.eval(*this); }
<span class="lineNum">     503 </span>                : 
<span class="lineNum">     504 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; const &amp; b) const { return b.eval(*this); }
<span class="lineNum">     505 </span>                : 
<span class="lineNum">     506 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F &amp; f, A &amp; a, long)
<span class="lineNum">     507 </span>                :     {
<span class="lineNum">     508 </span>                :         return unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_]);
<span class="lineNum">     509 </span>                :     }
<span class="lineNum">     510 </span>                : 
<span class="lineNum">     511 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F const &amp; f, A &amp; a, long) const
<span class="lineNum">     512 </span>                :     {
<span class="lineNum">     513 </span>                :         return unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_]);
<span class="lineNum">     514 </span>                :     }
<span class="lineNum">     515 </span>                : 
<span class="lineNum">     516 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F &amp; f, A &amp; a, int)
<span class="lineNum">     517 </span>                :     {
<span class="lineNum">     518 </span>                :         unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_]);
<span class="lineNum">     519 </span>                :     }
<span class="lineNum">     520 </span>                : 
<span class="lineNum">     521 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F const &amp; f, A &amp; a, int) const
<span class="lineNum">     522 </span>                :     {
<span class="lineNum">     523 </span>                :         unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_]);
<span class="lineNum">     524 </span>                :     }
<span class="lineNum">     525 </span>                : 
<span class="lineNum">     526 </span>                :     template&lt;class V&gt; void accept(V &amp; v) const
<span class="lineNum">     527 </span>                :     {
<span class="lineNum">     528 </span>                :         base_type::accept(v);
<span class="lineNum">     529 </span>                :     }
<span class="lineNum">     530 </span>                : 
<span class="lineNum">     531 </span>                :     bool operator==(list5 const &amp; rhs) const
<span class="lineNum">     532 </span>                :     {
<span class="lineNum">     533 </span>                :         return
<span class="lineNum">     534 </span>                : 
<span class="lineNum">     535 </span>                :             ref_compare( base_type::a1_, rhs.a1_, 0 ) &amp;&amp;
<span class="lineNum">     536 </span>                :             ref_compare( base_type::a2_, rhs.a2_, 0 ) &amp;&amp;
<span class="lineNum">     537 </span>                :             ref_compare( base_type::a3_, rhs.a3_, 0 ) &amp;&amp;
<span class="lineNum">     538 </span>                :             ref_compare( base_type::a4_, rhs.a4_, 0 ) &amp;&amp;
<span class="lineNum">     539 </span>                :             ref_compare( base_type::a5_, rhs.a5_, 0 );
<span class="lineNum">     540 </span>                :     }
<span class="lineNum">     541 </span>                : };
<span class="lineNum">     542 </span>                : 
<span class="lineNum">     543 </span>                : template&lt;class A1, class A2, class A3, class A4, class A5, class A6&gt; class list6: private storage6&lt; A1, A2, A3, A4, A5, A6 &gt;
<span class="lineNum">     544 </span>                : {
<span class="lineNum">     545 </span>                : private:
<span class="lineNum">     546 </span>                : 
<span class="lineNum">     547 </span>                :     typedef storage6&lt; A1, A2, A3, A4, A5, A6 &gt; base_type;
<span class="lineNum">     548 </span>                : 
<span class="lineNum">     549 </span>                : public:
<span class="lineNum">     550 </span>                : 
<span class="lineNum">     551 </span>                :     list6( A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6 ): base_type( a1, a2, a3, a4, a5, a6 ) {}
<span class="lineNum">     552 </span>                : 
<span class="lineNum">     553 </span>                :     A1 operator[] (boost::arg&lt;1&gt;) const { return base_type::a1_; }
<span class="lineNum">     554 </span>                :     A2 operator[] (boost::arg&lt;2&gt;) const { return base_type::a2_; }
<span class="lineNum">     555 </span>                :     A3 operator[] (boost::arg&lt;3&gt;) const { return base_type::a3_; }
<span class="lineNum">     556 </span>                :     A4 operator[] (boost::arg&lt;4&gt;) const { return base_type::a4_; }
<span class="lineNum">     557 </span>                :     A5 operator[] (boost::arg&lt;5&gt;) const { return base_type::a5_; }
<span class="lineNum">     558 </span>                :     A6 operator[] (boost::arg&lt;6&gt;) const { return base_type::a6_; }
<span class="lineNum">     559 </span>                : 
<span class="lineNum">     560 </span>                :     A1 operator[] (boost::arg&lt;1&gt; (*) ()) const { return base_type::a1_; }
<span class="lineNum">     561 </span>                :     A2 operator[] (boost::arg&lt;2&gt; (*) ()) const { return base_type::a2_; }
<span class="lineNum">     562 </span>                :     A3 operator[] (boost::arg&lt;3&gt; (*) ()) const { return base_type::a3_; }
<span class="lineNum">     563 </span>                :     A4 operator[] (boost::arg&lt;4&gt; (*) ()) const { return base_type::a4_; }
<span class="lineNum">     564 </span>                :     A5 operator[] (boost::arg&lt;5&gt; (*) ()) const { return base_type::a5_; }
<span class="lineNum">     565 </span>                :     A6 operator[] (boost::arg&lt;6&gt; (*) ()) const { return base_type::a6_; }
<span class="lineNum">     566 </span>                : 
<span class="lineNum">     567 </span>                :     template&lt;class T&gt; T &amp; operator[] (_bi::value&lt;T&gt; &amp; v) const { return v.get(); }
<span class="lineNum">     568 </span>                : 
<span class="lineNum">     569 </span>                :     template&lt;class T&gt; T const &amp; operator[] (_bi::value&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     570 </span>                : 
<span class="lineNum">     571 </span>                :     template&lt;class T&gt; T &amp; operator[] (reference_wrapper&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     572 </span>                : 
<span class="lineNum">     573 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; &amp; b) const { return b.eval(*this); }
<span class="lineNum">     574 </span>                : 
<span class="lineNum">     575 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; const &amp; b) const { return b.eval(*this); }
<span class="lineNum">     576 </span>                : 
<span class="lineNum">     577 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F &amp; f, A &amp; a, long)
<span class="lineNum">     578 </span>                :     {
<span class="lineNum">     579 </span>                :         return unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_]);
<span class="lineNum">     580 </span>                :     }
<span class="lineNum">     581 </span>                : 
<span class="lineNum">     582 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F const &amp; f, A &amp; a, long) const
<span class="lineNum">     583 </span>                :     {
<span class="lineNum">     584 </span>                :         return unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_]);
<span class="lineNum">     585 </span>                :     }
<span class="lineNum">     586 </span>                : 
<span class="lineNum">     587 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F &amp; f, A &amp; a, int)
<span class="lineNum">     588 </span>                :     {
<span class="lineNum">     589 </span>                :         unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_]);
<span class="lineNum">     590 </span>                :     }
<span class="lineNum">     591 </span>                : 
<span class="lineNum">     592 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F const &amp; f, A &amp; a, int) const
<span class="lineNum">     593 </span>                :     {
<span class="lineNum">     594 </span>                :         unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_]);
<span class="lineNum">     595 </span>                :     }
<span class="lineNum">     596 </span>                : 
<span class="lineNum">     597 </span>                :     template&lt;class V&gt; void accept(V &amp; v) const
<span class="lineNum">     598 </span>                :     {
<span class="lineNum">     599 </span>                :         base_type::accept(v);
<span class="lineNum">     600 </span>                :     }
<span class="lineNum">     601 </span>                : 
<span class="lineNum">     602 </span>                :     bool operator==(list6 const &amp; rhs) const
<span class="lineNum">     603 </span>                :     {
<span class="lineNum">     604 </span>                :         return
<span class="lineNum">     605 </span>                : 
<span class="lineNum">     606 </span>                :             ref_compare( base_type::a1_, rhs.a1_, 0 ) &amp;&amp;
<span class="lineNum">     607 </span>                :             ref_compare( base_type::a2_, rhs.a2_, 0 ) &amp;&amp;
<span class="lineNum">     608 </span>                :             ref_compare( base_type::a3_, rhs.a3_, 0 ) &amp;&amp;
<span class="lineNum">     609 </span>                :             ref_compare( base_type::a4_, rhs.a4_, 0 ) &amp;&amp;
<span class="lineNum">     610 </span>                :             ref_compare( base_type::a5_, rhs.a5_, 0 ) &amp;&amp;
<span class="lineNum">     611 </span>                :             ref_compare( base_type::a6_, rhs.a6_, 0 );
<span class="lineNum">     612 </span>                :     }
<span class="lineNum">     613 </span>                : };
<span class="lineNum">     614 </span>                : 
<span class="lineNum">     615 </span>                : template&lt;class A1, class A2, class A3, class A4, class A5, class A6, class A7&gt; class list7: private storage7&lt; A1, A2, A3, A4, A5, A6, A7 &gt;
<span class="lineNum">     616 </span>                : {
<span class="lineNum">     617 </span>                : private:
<span class="lineNum">     618 </span>                : 
<span class="lineNum">     619 </span>                :     typedef storage7&lt; A1, A2, A3, A4, A5, A6, A7 &gt; base_type;
<span class="lineNum">     620 </span>                : 
<span class="lineNum">     621 </span>                : public:
<span class="lineNum">     622 </span>                : 
<span class="lineNum">     623 </span>                :     list7( A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7 ): base_type( a1, a2, a3, a4, a5, a6, a7 ) {}
<span class="lineNum">     624 </span>                : 
<span class="lineNum">     625 </span>                :     A1 operator[] (boost::arg&lt;1&gt;) const { return base_type::a1_; }
<span class="lineNum">     626 </span>                :     A2 operator[] (boost::arg&lt;2&gt;) const { return base_type::a2_; }
<span class="lineNum">     627 </span>                :     A3 operator[] (boost::arg&lt;3&gt;) const { return base_type::a3_; }
<span class="lineNum">     628 </span>                :     A4 operator[] (boost::arg&lt;4&gt;) const { return base_type::a4_; }
<span class="lineNum">     629 </span>                :     A5 operator[] (boost::arg&lt;5&gt;) const { return base_type::a5_; }
<span class="lineNum">     630 </span>                :     A6 operator[] (boost::arg&lt;6&gt;) const { return base_type::a6_; }
<span class="lineNum">     631 </span>                :     A7 operator[] (boost::arg&lt;7&gt;) const { return base_type::a7_; }
<span class="lineNum">     632 </span>                : 
<span class="lineNum">     633 </span>                :     A1 operator[] (boost::arg&lt;1&gt; (*) ()) const { return base_type::a1_; }
<span class="lineNum">     634 </span>                :     A2 operator[] (boost::arg&lt;2&gt; (*) ()) const { return base_type::a2_; }
<span class="lineNum">     635 </span>                :     A3 operator[] (boost::arg&lt;3&gt; (*) ()) const { return base_type::a3_; }
<span class="lineNum">     636 </span>                :     A4 operator[] (boost::arg&lt;4&gt; (*) ()) const { return base_type::a4_; }
<span class="lineNum">     637 </span>                :     A5 operator[] (boost::arg&lt;5&gt; (*) ()) const { return base_type::a5_; }
<span class="lineNum">     638 </span>                :     A6 operator[] (boost::arg&lt;6&gt; (*) ()) const { return base_type::a6_; }
<span class="lineNum">     639 </span>                :     A7 operator[] (boost::arg&lt;7&gt; (*) ()) const { return base_type::a7_; }
<span class="lineNum">     640 </span>                : 
<span class="lineNum">     641 </span>                :     template&lt;class T&gt; T &amp; operator[] (_bi::value&lt;T&gt; &amp; v) const { return v.get(); }
<span class="lineNum">     642 </span>                : 
<span class="lineNum">     643 </span>                :     template&lt;class T&gt; T const &amp; operator[] (_bi::value&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     644 </span>                : 
<span class="lineNum">     645 </span>                :     template&lt;class T&gt; T &amp; operator[] (reference_wrapper&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     646 </span>                : 
<span class="lineNum">     647 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; &amp; b) const { return b.eval(*this); }
<span class="lineNum">     648 </span>                : 
<span class="lineNum">     649 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; const &amp; b) const { return b.eval(*this); }
<span class="lineNum">     650 </span>                : 
<span class="lineNum">     651 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F &amp; f, A &amp; a, long)
<span class="lineNum">     652 </span>                :     {
<span class="lineNum">     653 </span>                :         return unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_]);
<span class="lineNum">     654 </span>                :     }
<span class="lineNum">     655 </span>                : 
<span class="lineNum">     656 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F const &amp; f, A &amp; a, long) const
<span class="lineNum">     657 </span>                :     {
<span class="lineNum">     658 </span>                :         return unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_]);
<span class="lineNum">     659 </span>                :     }
<span class="lineNum">     660 </span>                : 
<span class="lineNum">     661 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F &amp; f, A &amp; a, int)
<span class="lineNum">     662 </span>                :     {
<span class="lineNum">     663 </span>                :         unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_]);
<span class="lineNum">     664 </span>                :     }
<span class="lineNum">     665 </span>                : 
<span class="lineNum">     666 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F const &amp; f, A &amp; a, int) const
<span class="lineNum">     667 </span>                :     {
<span class="lineNum">     668 </span>                :         unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_]);
<span class="lineNum">     669 </span>                :     }
<span class="lineNum">     670 </span>                : 
<span class="lineNum">     671 </span>                :     template&lt;class V&gt; void accept(V &amp; v) const
<span class="lineNum">     672 </span>                :     {
<span class="lineNum">     673 </span>                :         base_type::accept(v);
<span class="lineNum">     674 </span>                :     }
<span class="lineNum">     675 </span>                : 
<span class="lineNum">     676 </span>                :     bool operator==(list7 const &amp; rhs) const
<span class="lineNum">     677 </span>                :     {
<span class="lineNum">     678 </span>                :         return
<span class="lineNum">     679 </span>                : 
<span class="lineNum">     680 </span>                :             ref_compare( base_type::a1_, rhs.a1_, 0 ) &amp;&amp;
<span class="lineNum">     681 </span>                :             ref_compare( base_type::a2_, rhs.a2_, 0 ) &amp;&amp;
<span class="lineNum">     682 </span>                :             ref_compare( base_type::a3_, rhs.a3_, 0 ) &amp;&amp;
<span class="lineNum">     683 </span>                :             ref_compare( base_type::a4_, rhs.a4_, 0 ) &amp;&amp;
<span class="lineNum">     684 </span>                :             ref_compare( base_type::a5_, rhs.a5_, 0 ) &amp;&amp;
<span class="lineNum">     685 </span>                :             ref_compare( base_type::a6_, rhs.a6_, 0 ) &amp;&amp;
<span class="lineNum">     686 </span>                :             ref_compare( base_type::a7_, rhs.a7_, 0 );
<span class="lineNum">     687 </span>                :     }
<span class="lineNum">     688 </span>                : };
<span class="lineNum">     689 </span>                : 
<span class="lineNum">     690 </span>                : template&lt; class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8 &gt; class list8: private storage8&lt; A1, A2, A3, A4, A5, A6, A7, A8 &gt;
<span class="lineNum">     691 </span>                : {
<span class="lineNum">     692 </span>                : private:
<span class="lineNum">     693 </span>                : 
<span class="lineNum">     694 </span>                :     typedef storage8&lt; A1, A2, A3, A4, A5, A6, A7, A8 &gt; base_type;
<span class="lineNum">     695 </span>                : 
<span class="lineNum">     696 </span>                : public:
<span class="lineNum">     697 </span>                : 
<span class="lineNum">     698 </span>                :     list8( A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8 ): base_type( a1, a2, a3, a4, a5, a6, a7, a8 ) {}
<span class="lineNum">     699 </span>                : 
<span class="lineNum">     700 </span>                :     A1 operator[] (boost::arg&lt;1&gt;) const { return base_type::a1_; }
<span class="lineNum">     701 </span>                :     A2 operator[] (boost::arg&lt;2&gt;) const { return base_type::a2_; }
<span class="lineNum">     702 </span>                :     A3 operator[] (boost::arg&lt;3&gt;) const { return base_type::a3_; }
<span class="lineNum">     703 </span>                :     A4 operator[] (boost::arg&lt;4&gt;) const { return base_type::a4_; }
<span class="lineNum">     704 </span>                :     A5 operator[] (boost::arg&lt;5&gt;) const { return base_type::a5_; }
<span class="lineNum">     705 </span>                :     A6 operator[] (boost::arg&lt;6&gt;) const { return base_type::a6_; }
<span class="lineNum">     706 </span>                :     A7 operator[] (boost::arg&lt;7&gt;) const { return base_type::a7_; }
<span class="lineNum">     707 </span>                :     A8 operator[] (boost::arg&lt;8&gt;) const { return base_type::a8_; }
<span class="lineNum">     708 </span>                : 
<span class="lineNum">     709 </span>                :     A1 operator[] (boost::arg&lt;1&gt; (*) ()) const { return base_type::a1_; }
<span class="lineNum">     710 </span>                :     A2 operator[] (boost::arg&lt;2&gt; (*) ()) const { return base_type::a2_; }
<span class="lineNum">     711 </span>                :     A3 operator[] (boost::arg&lt;3&gt; (*) ()) const { return base_type::a3_; }
<span class="lineNum">     712 </span>                :     A4 operator[] (boost::arg&lt;4&gt; (*) ()) const { return base_type::a4_; }
<span class="lineNum">     713 </span>                :     A5 operator[] (boost::arg&lt;5&gt; (*) ()) const { return base_type::a5_; }
<span class="lineNum">     714 </span>                :     A6 operator[] (boost::arg&lt;6&gt; (*) ()) const { return base_type::a6_; }
<span class="lineNum">     715 </span>                :     A7 operator[] (boost::arg&lt;7&gt; (*) ()) const { return base_type::a7_; }
<span class="lineNum">     716 </span>                :     A8 operator[] (boost::arg&lt;8&gt; (*) ()) const { return base_type::a8_; }
<span class="lineNum">     717 </span>                : 
<span class="lineNum">     718 </span>                :     template&lt;class T&gt; T &amp; operator[] (_bi::value&lt;T&gt; &amp; v) const { return v.get(); }
<span class="lineNum">     719 </span>                : 
<span class="lineNum">     720 </span>                :     template&lt;class T&gt; T const &amp; operator[] (_bi::value&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     721 </span>                : 
<span class="lineNum">     722 </span>                :     template&lt;class T&gt; T &amp; operator[] (reference_wrapper&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     723 </span>                : 
<span class="lineNum">     724 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; &amp; b) const { return b.eval(*this); }
<span class="lineNum">     725 </span>                : 
<span class="lineNum">     726 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; const &amp; b) const { return b.eval(*this); }
<span class="lineNum">     727 </span>                : 
<span class="lineNum">     728 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F &amp; f, A &amp; a, long)
<span class="lineNum">     729 </span>                :     {
<span class="lineNum">     730 </span>                :         return unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_], a[base_type::a8_]);
<span class="lineNum">     731 </span>                :     }
<span class="lineNum">     732 </span>                : 
<span class="lineNum">     733 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F const &amp; f, A &amp; a, long) const
<span class="lineNum">     734 </span>                :     {
<span class="lineNum">     735 </span>                :         return unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_], a[base_type::a8_]);
<span class="lineNum">     736 </span>                :     }
<span class="lineNum">     737 </span>                : 
<span class="lineNum">     738 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F &amp; f, A &amp; a, int)
<span class="lineNum">     739 </span>                :     {
<span class="lineNum">     740 </span>                :         unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_], a[base_type::a8_]);
<span class="lineNum">     741 </span>                :     }
<span class="lineNum">     742 </span>                : 
<span class="lineNum">     743 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F const &amp; f, A &amp; a, int) const
<span class="lineNum">     744 </span>                :     {
<span class="lineNum">     745 </span>                :         unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_], a[base_type::a8_]);
<span class="lineNum">     746 </span>                :     }
<span class="lineNum">     747 </span>                : 
<span class="lineNum">     748 </span>                :     template&lt;class V&gt; void accept(V &amp; v) const
<span class="lineNum">     749 </span>                :     {
<span class="lineNum">     750 </span>                :         base_type::accept(v);
<span class="lineNum">     751 </span>                :     }
<span class="lineNum">     752 </span>                : 
<span class="lineNum">     753 </span>                :     bool operator==(list8 const &amp; rhs) const
<span class="lineNum">     754 </span>                :     {
<span class="lineNum">     755 </span>                :         return
<span class="lineNum">     756 </span>                :             
<span class="lineNum">     757 </span>                :             ref_compare( base_type::a1_, rhs.a1_, 0 ) &amp;&amp;
<span class="lineNum">     758 </span>                :             ref_compare( base_type::a2_, rhs.a2_, 0 ) &amp;&amp;
<span class="lineNum">     759 </span>                :             ref_compare( base_type::a3_, rhs.a3_, 0 ) &amp;&amp;
<span class="lineNum">     760 </span>                :             ref_compare( base_type::a4_, rhs.a4_, 0 ) &amp;&amp;
<span class="lineNum">     761 </span>                :             ref_compare( base_type::a5_, rhs.a5_, 0 ) &amp;&amp;
<span class="lineNum">     762 </span>                :             ref_compare( base_type::a6_, rhs.a6_, 0 ) &amp;&amp;
<span class="lineNum">     763 </span>                :             ref_compare( base_type::a7_, rhs.a7_, 0 ) &amp;&amp;
<span class="lineNum">     764 </span>                :             ref_compare( base_type::a8_, rhs.a8_, 0 );
<span class="lineNum">     765 </span>                :     }
<span class="lineNum">     766 </span>                : };
<span class="lineNum">     767 </span>                : 
<span class="lineNum">     768 </span>                : template&lt;class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9&gt; class list9: private storage9&lt; A1, A2, A3, A4, A5, A6, A7, A8, A9 &gt;
<span class="lineNum">     769 </span>                : {
<span class="lineNum">     770 </span>                : private:
<span class="lineNum">     771 </span>                : 
<span class="lineNum">     772 </span>                :     typedef storage9&lt; A1, A2, A3, A4, A5, A6, A7, A8, A9 &gt; base_type;
<span class="lineNum">     773 </span>                : 
<span class="lineNum">     774 </span>                : public:
<span class="lineNum">     775 </span>                : 
<span class="lineNum">     776 </span>                :     list9( A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9 ): base_type( a1, a2, a3, a4, a5, a6, a7, a8, a9 ) {}
<span class="lineNum">     777 </span>                : 
<span class="lineNum">     778 </span>                :     A1 operator[] (boost::arg&lt;1&gt;) const { return base_type::a1_; }
<span class="lineNum">     779 </span>                :     A2 operator[] (boost::arg&lt;2&gt;) const { return base_type::a2_; }
<span class="lineNum">     780 </span>                :     A3 operator[] (boost::arg&lt;3&gt;) const { return base_type::a3_; }
<span class="lineNum">     781 </span>                :     A4 operator[] (boost::arg&lt;4&gt;) const { return base_type::a4_; }
<span class="lineNum">     782 </span>                :     A5 operator[] (boost::arg&lt;5&gt;) const { return base_type::a5_; }
<span class="lineNum">     783 </span>                :     A6 operator[] (boost::arg&lt;6&gt;) const { return base_type::a6_; }
<span class="lineNum">     784 </span>                :     A7 operator[] (boost::arg&lt;7&gt;) const { return base_type::a7_; }
<span class="lineNum">     785 </span>                :     A8 operator[] (boost::arg&lt;8&gt;) const { return base_type::a8_; }
<span class="lineNum">     786 </span>                :     A9 operator[] (boost::arg&lt;9&gt;) const { return base_type::a9_; }
<span class="lineNum">     787 </span>                : 
<span class="lineNum">     788 </span>                :     A1 operator[] (boost::arg&lt;1&gt; (*) ()) const { return base_type::a1_; }
<span class="lineNum">     789 </span>                :     A2 operator[] (boost::arg&lt;2&gt; (*) ()) const { return base_type::a2_; }
<span class="lineNum">     790 </span>                :     A3 operator[] (boost::arg&lt;3&gt; (*) ()) const { return base_type::a3_; }
<span class="lineNum">     791 </span>                :     A4 operator[] (boost::arg&lt;4&gt; (*) ()) const { return base_type::a4_; }
<span class="lineNum">     792 </span>                :     A5 operator[] (boost::arg&lt;5&gt; (*) ()) const { return base_type::a5_; }
<span class="lineNum">     793 </span>                :     A6 operator[] (boost::arg&lt;6&gt; (*) ()) const { return base_type::a6_; }
<span class="lineNum">     794 </span>                :     A7 operator[] (boost::arg&lt;7&gt; (*) ()) const { return base_type::a7_; }
<span class="lineNum">     795 </span>                :     A8 operator[] (boost::arg&lt;8&gt; (*) ()) const { return base_type::a8_; }
<span class="lineNum">     796 </span>                :     A9 operator[] (boost::arg&lt;9&gt; (*) ()) const { return base_type::a9_; }
<span class="lineNum">     797 </span>                : 
<span class="lineNum">     798 </span>                :     template&lt;class T&gt; T &amp; operator[] (_bi::value&lt;T&gt; &amp; v) const { return v.get(); }
<span class="lineNum">     799 </span>                : 
<span class="lineNum">     800 </span>                :     template&lt;class T&gt; T const &amp; operator[] (_bi::value&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     801 </span>                : 
<span class="lineNum">     802 </span>                :     template&lt;class T&gt; T &amp; operator[] (reference_wrapper&lt;T&gt; const &amp; v) const { return v.get(); }
<span class="lineNum">     803 </span>                : 
<span class="lineNum">     804 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; &amp; b) const { return b.eval(*this); }
<span class="lineNum">     805 </span>                : 
<span class="lineNum">     806 </span>                :     template&lt;class R, class F, class L&gt; typename result_traits&lt;R, F&gt;::type operator[] (bind_t&lt;R, F, L&gt; const &amp; b) const { return b.eval(*this); }
<span class="lineNum">     807 </span>                : 
<span class="lineNum">     808 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F &amp; f, A &amp; a, long)
<span class="lineNum">     809 </span>                :     {
<span class="lineNum">     810 </span>                :         return unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_], a[base_type::a8_], a[base_type::a9_]);
<span class="lineNum">     811 </span>                :     }
<span class="lineNum">     812 </span>                : 
<span class="lineNum">     813 </span>                :     template&lt;class R, class F, class A&gt; R operator()(type&lt;R&gt;, F const &amp; f, A &amp; a, long) const
<span class="lineNum">     814 </span>                :     {
<span class="lineNum">     815 </span>                :         return unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_], a[base_type::a8_], a[base_type::a9_]);
<span class="lineNum">     816 </span>                :     }
<span class="lineNum">     817 </span>                : 
<span class="lineNum">     818 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F &amp; f, A &amp; a, int)
<span class="lineNum">     819 </span>                :     {
<span class="lineNum">     820 </span>                :         unwrapper&lt;F&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_], a[base_type::a8_], a[base_type::a9_]);
<span class="lineNum">     821 </span>                :     }
<span class="lineNum">     822 </span>                : 
<span class="lineNum">     823 </span>                :     template&lt;class F, class A&gt; void operator()(type&lt;void&gt;, F const &amp; f, A &amp; a, int) const
<span class="lineNum">     824 </span>                :     {
<span class="lineNum">     825 </span>                :         unwrapper&lt;F const&gt;::unwrap(f, 0)(a[base_type::a1_], a[base_type::a2_], a[base_type::a3_], a[base_type::a4_], a[base_type::a5_], a[base_type::a6_], a[base_type::a7_], a[base_type::a8_], a[base_type::a9_]);
<span class="lineNum">     826 </span>                :     }
<span class="lineNum">     827 </span>                : 
<span class="lineNum">     828 </span>                :     template&lt;class V&gt; void accept(V &amp; v) const
<span class="lineNum">     829 </span>                :     {
<span class="lineNum">     830 </span>                :         base_type::accept(v);
<span class="lineNum">     831 </span>                :     }
<span class="lineNum">     832 </span>                : 
<span class="lineNum">     833 </span>                :     bool operator==(list9 const &amp; rhs) const
<span class="lineNum">     834 </span>                :     {
<span class="lineNum">     835 </span>                :         return
<span class="lineNum">     836 </span>                : 
<span class="lineNum">     837 </span>                :             ref_compare( base_type::a1_, rhs.a1_, 0 ) &amp;&amp;
<span class="lineNum">     838 </span>                :             ref_compare( base_type::a2_, rhs.a2_, 0 ) &amp;&amp;
<span class="lineNum">     839 </span>                :             ref_compare( base_type::a3_, rhs.a3_, 0 ) &amp;&amp;
<span class="lineNum">     840 </span>                :             ref_compare( base_type::a4_, rhs.a4_, 0 ) &amp;&amp;
<span class="lineNum">     841 </span>                :             ref_compare( base_type::a5_, rhs.a5_, 0 ) &amp;&amp;
<span class="lineNum">     842 </span>                :             ref_compare( base_type::a6_, rhs.a6_, 0 ) &amp;&amp;
<span class="lineNum">     843 </span>                :             ref_compare( base_type::a7_, rhs.a7_, 0 ) &amp;&amp;
<span class="lineNum">     844 </span>                :             ref_compare( base_type::a8_, rhs.a8_, 0 ) &amp;&amp;
<span class="lineNum">     845 </span>                :             ref_compare( base_type::a9_, rhs.a9_, 0 );
<span class="lineNum">     846 </span>                :     }
<span class="lineNum">     847 </span>                : };
<span class="lineNum">     848 </span>                : 
<span class="lineNum">     849 </span>                : // bind_t
<span class="lineNum">     850 </span>                : 
<span class="lineNum">     851 </span>                : #ifndef BOOST_NO_VOID_RETURNS
<span class="lineNum">     852 </span>                : 
<span class="lineNum">     853 </span>                : template&lt;class R, class F, class L&gt; class bind_t
<span class="lineNum">     854 </span>                : {
<span class="lineNum">     855 </span>                : public:
<span class="lineNum">     856 </span>                : 
<span class="lineNum">     857 </span>                :     typedef bind_t this_type;
<span class="lineNum">     858 </span>                : 
<span class="lineNum">     859 </span><span class="lineNoCov">              0 :     bind_t(F f, L const &amp; l): f_(f), l_(l) {}</span>
<span class="lineNum">     860 </span>                : 
<span class="lineNum">     861 </span>                : #define BOOST_BIND_RETURN return
<span class="lineNum">     862 </span>                : #include &lt;boost/bind/bind_template.hpp&gt;
<span class="lineNum">     863 </span>                : #undef BOOST_BIND_RETURN
<span class="lineNum">     864 </span>                : 
<span class="lineNum">     865 </span>                : };
<span class="lineNum">     866 </span>                : 
<span class="lineNum">     867 </span>                : #else
<span class="lineNum">     868 </span>                : 
<span class="lineNum">     869 </span>                : template&lt;class R&gt; struct bind_t_generator
<span class="lineNum">     870 </span>                : {
<span class="lineNum">     871 </span>                : 
<span class="lineNum">     872 </span>                : template&lt;class F, class L&gt; class implementation
<span class="lineNum">     873 </span>                : {
<span class="lineNum">     874 </span>                : public:
<span class="lineNum">     875 </span>                : 
<span class="lineNum">     876 </span>                :     typedef implementation this_type;
<span class="lineNum">     877 </span>                : 
<span class="lineNum">     878 </span>                :     implementation(F f, L const &amp; l): f_(f), l_(l) {}
<span class="lineNum">     879 </span>                : 
<span class="lineNum">     880 </span>                : #define BOOST_BIND_RETURN return
<span class="lineNum">     881 </span>                : #include &lt;boost/bind/bind_template.hpp&gt;
<span class="lineNum">     882 </span>                : #undef BOOST_BIND_RETURN
<span class="lineNum">     883 </span>                : 
<span class="lineNum">     884 </span>                : };
<span class="lineNum">     885 </span>                : 
<span class="lineNum">     886 </span>                : };
<span class="lineNum">     887 </span>                : 
<span class="lineNum">     888 </span>                : template&lt;&gt; struct bind_t_generator&lt;void&gt;
<span class="lineNum">     889 </span>                : {
<span class="lineNum">     890 </span>                : 
<span class="lineNum">     891 </span>                : template&lt;class F, class L&gt; class implementation
<span class="lineNum">     892 </span>                : {
<span class="lineNum">     893 </span>                : private:
<span class="lineNum">     894 </span>                : 
<span class="lineNum">     895 </span>                :     typedef void R;
<span class="lineNum">     896 </span>                : 
<span class="lineNum">     897 </span>                : public:
<span class="lineNum">     898 </span>                : 
<span class="lineNum">     899 </span>                :     typedef implementation this_type;
<span class="lineNum">     900 </span>                : 
<span class="lineNum">     901 </span>                :     implementation(F f, L const &amp; l): f_(f), l_(l) {}
<span class="lineNum">     902 </span>                : 
<span class="lineNum">     903 </span>                : #define BOOST_BIND_RETURN
<span class="lineNum">     904 </span>                : #include &lt;boost/bind/bind_template.hpp&gt;
<span class="lineNum">     905 </span>                : #undef BOOST_BIND_RETURN
<span class="lineNum">     906 </span>                : 
<span class="lineNum">     907 </span>                : };
<span class="lineNum">     908 </span>                : 
<span class="lineNum">     909 </span>                : };
<span class="lineNum">     910 </span>                : 
<span class="lineNum">     911 </span>                : template&lt;class R2, class F, class L&gt; class bind_t: public bind_t_generator&lt;R2&gt;::BOOST_NESTED_TEMPLATE implementation&lt;F, L&gt;
<span class="lineNum">     912 </span>                : {
<span class="lineNum">     913 </span>                : public:
<span class="lineNum">     914 </span>                : 
<span class="lineNum">     915 </span>                :     bind_t(F f, L const &amp; l): bind_t_generator&lt;R2&gt;::BOOST_NESTED_TEMPLATE implementation&lt;F, L&gt;(f, l) {}
<span class="lineNum">     916 </span>                : 
<span class="lineNum">     917 </span>                : };
<span class="lineNum">     918 </span>                : 
<span class="lineNum">     919 </span>                : #endif
<span class="lineNum">     920 </span>                : 
<span class="lineNum">     921 </span>                : // function_equal
<span class="lineNum">     922 </span>                : 
<span class="lineNum">     923 </span>                : #ifndef BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
<span class="lineNum">     924 </span>                : 
<span class="lineNum">     925 </span>                : // put overloads in _bi, rely on ADL
<span class="lineNum">     926 </span>                : 
<span class="lineNum">     927 </span>                : # ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
<span class="lineNum">     928 </span>                : 
<span class="lineNum">     929 </span>                : template&lt;class R, class F, class L&gt; bool function_equal( bind_t&lt;R, F, L&gt; const &amp; a, bind_t&lt;R, F, L&gt; const &amp; b )
<span class="lineNum">     930 </span>                : {
<span class="lineNum">     931 </span>                :     return a.compare(b);
<span class="lineNum">     932 </span>                : }
<span class="lineNum">     933 </span>                : 
<span class="lineNum">     934 </span>                : # else
<span class="lineNum">     935 </span>                : 
<span class="lineNum">     936 </span>                : template&lt;class R, class F, class L&gt; bool function_equal_impl( bind_t&lt;R, F, L&gt; const &amp; a, bind_t&lt;R, F, L&gt; const &amp; b, int )
<span class="lineNum">     937 </span>                : {
<span class="lineNum">     938 </span>                :     return a.compare(b);
<span class="lineNum">     939 </span>                : }
<span class="lineNum">     940 </span>                : 
<span class="lineNum">     941 </span>                : # endif // #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
<span class="lineNum">     942 </span>                : 
<span class="lineNum">     943 </span>                : #else // BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
<span class="lineNum">     944 </span>                : 
<span class="lineNum">     945 </span>                : // put overloads in boost
<span class="lineNum">     946 </span>                : 
<span class="lineNum">     947 </span>                : } // namespace _bi
<span class="lineNum">     948 </span>                : 
<span class="lineNum">     949 </span>                : # ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
<span class="lineNum">     950 </span>                : 
<span class="lineNum">     951 </span>                : template&lt;class R, class F, class L&gt; bool function_equal( _bi::bind_t&lt;R, F, L&gt; const &amp; a, _bi::bind_t&lt;R, F, L&gt; const &amp; b )
<span class="lineNum">     952 </span>                : {
<span class="lineNum">     953 </span>                :     return a.compare(b);
<span class="lineNum">     954 </span>                : }
<span class="lineNum">     955 </span>                : 
<span class="lineNum">     956 </span>                : # else
<span class="lineNum">     957 </span>                : 
<span class="lineNum">     958 </span>                : template&lt;class R, class F, class L&gt; bool function_equal_impl( _bi::bind_t&lt;R, F, L&gt; const &amp; a, _bi::bind_t&lt;R, F, L&gt; const &amp; b, int )
<span class="lineNum">     959 </span>                : {
<span class="lineNum">     960 </span>                :     return a.compare(b);
<span class="lineNum">     961 </span>                : }
<span class="lineNum">     962 </span>                : 
<span class="lineNum">     963 </span>                : # endif // #ifndef BOOST_NO_FUNCTION_TEMPLATE_ORDERING
<span class="lineNum">     964 </span>                : 
<span class="lineNum">     965 </span>                : namespace _bi
<span class="lineNum">     966 </span>                : {
<span class="lineNum">     967 </span>                : 
<span class="lineNum">     968 </span>                : #endif // BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP
<span class="lineNum">     969 </span>                : 
<span class="lineNum">     970 </span>                : // add_value
<span class="lineNum">     971 </span>                : 
<span class="lineNum">     972 </span>                : #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || (__SUNPRO_CC &gt;= 0x530)
<span class="lineNum">     973 </span>                : 
<span class="lineNum">     974 </span>                : #if defined( __BORLANDC__ ) &amp;&amp; BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT(0x582) )
<span class="lineNum">     975 </span>                : 
<span class="lineNum">     976 </span>                : template&lt;class T&gt; struct add_value
<span class="lineNum">     977 </span>                : {
<span class="lineNum">     978 </span>                :     typedef _bi::value&lt;T&gt; type;
<span class="lineNum">     979 </span>                : };
<span class="lineNum">     980 </span>                : 
<span class="lineNum">     981 </span>                : #else
<span class="lineNum">     982 </span>                : 
<span class="lineNum">     983 </span>                : template&lt; class T, int I &gt; struct add_value_2
<span class="lineNum">     984 </span>                : {
<span class="lineNum">     985 </span>                :     typedef boost::arg&lt;I&gt; type;
<span class="lineNum">     986 </span>                : };
<span class="lineNum">     987 </span>                : 
<span class="lineNum">     988 </span>                : template&lt; class T &gt; struct add_value_2&lt; T, 0 &gt;
<span class="lineNum">     989 </span>                : {
<span class="lineNum">     990 </span>                :     typedef _bi::value&lt; T &gt; type;
<span class="lineNum">     991 </span>                : };
<span class="lineNum">     992 </span>                : 
<span class="lineNum">     993 </span>                : template&lt;class T&gt; struct add_value
<span class="lineNum">     994 </span>                : {
<span class="lineNum">     995 </span>                :     typedef typename add_value_2&lt; T, boost::is_placeholder&lt; T &gt;::value &gt;::type type;
<span class="lineNum">     996 </span>                : };
<span class="lineNum">     997 </span>                : 
<span class="lineNum">     998 </span>                : #endif
<span class="lineNum">     999 </span>                : 
<span class="lineNum">    1000 </span>                : template&lt;class T&gt; struct add_value&lt; value&lt;T&gt; &gt;
<span class="lineNum">    1001 </span>                : {
<span class="lineNum">    1002 </span>                :     typedef _bi::value&lt;T&gt; type;
<span class="lineNum">    1003 </span>                : };
<span class="lineNum">    1004 </span>                : 
<span class="lineNum">    1005 </span>                : template&lt;class T&gt; struct add_value&lt; reference_wrapper&lt;T&gt; &gt;
<span class="lineNum">    1006 </span>                : {
<span class="lineNum">    1007 </span>                :     typedef reference_wrapper&lt;T&gt; type;
<span class="lineNum">    1008 </span>                : };
<span class="lineNum">    1009 </span>                : 
<span class="lineNum">    1010 </span>                : template&lt;int I&gt; struct add_value&lt; arg&lt;I&gt; &gt;
<span class="lineNum">    1011 </span>                : {
<span class="lineNum">    1012 </span>                :     typedef boost::arg&lt;I&gt; type;
<span class="lineNum">    1013 </span>                : };
<span class="lineNum">    1014 </span>                : 
<span class="lineNum">    1015 </span>                : template&lt;int I&gt; struct add_value&lt; arg&lt;I&gt; (*) () &gt;
<span class="lineNum">    1016 </span>                : {
<span class="lineNum">    1017 </span>                :     typedef boost::arg&lt;I&gt; (*type) ();
<span class="lineNum">    1018 </span>                : };
<span class="lineNum">    1019 </span>                : 
<span class="lineNum">    1020 </span>                : template&lt;class R, class F, class L&gt; struct add_value&lt; bind_t&lt;R, F, L&gt; &gt;
<span class="lineNum">    1021 </span>                : {
<span class="lineNum">    1022 </span>                :     typedef bind_t&lt;R, F, L&gt; type;
<span class="lineNum">    1023 </span>                : };
<span class="lineNum">    1024 </span>                : 
<span class="lineNum">    1025 </span>                : #else
<span class="lineNum">    1026 </span>                : 
<span class="lineNum">    1027 </span>                : template&lt;int I&gt; struct _avt_0;
<span class="lineNum">    1028 </span>                : 
<span class="lineNum">    1029 </span>                : template&lt;&gt; struct _avt_0&lt;1&gt;
<span class="lineNum">    1030 </span>                : {
<span class="lineNum">    1031 </span>                :     template&lt;class T&gt; struct inner
<span class="lineNum">    1032 </span>                :     {
<span class="lineNum">    1033 </span>                :         typedef T type;
<span class="lineNum">    1034 </span>                :     };
<span class="lineNum">    1035 </span>                : };
<span class="lineNum">    1036 </span>                : 
<span class="lineNum">    1037 </span>                : template&lt;&gt; struct _avt_0&lt;2&gt;
<span class="lineNum">    1038 </span>                : {
<span class="lineNum">    1039 </span>                :     template&lt;class T&gt; struct inner
<span class="lineNum">    1040 </span>                :     {
<span class="lineNum">    1041 </span>                :         typedef value&lt;T&gt; type;
<span class="lineNum">    1042 </span>                :     };
<span class="lineNum">    1043 </span>                : };
<span class="lineNum">    1044 </span>                : 
<span class="lineNum">    1045 </span>                : typedef char (&amp;_avt_r1) [1];
<span class="lineNum">    1046 </span>                : typedef char (&amp;_avt_r2) [2];
<span class="lineNum">    1047 </span>                : 
<span class="lineNum">    1048 </span>                : template&lt;class T&gt; _avt_r1 _avt_f(value&lt;T&gt;);
<span class="lineNum">    1049 </span>                : template&lt;class T&gt; _avt_r1 _avt_f(reference_wrapper&lt;T&gt;);
<span class="lineNum">    1050 </span>                : template&lt;int I&gt; _avt_r1 _avt_f(arg&lt;I&gt;);
<span class="lineNum">    1051 </span>                : template&lt;int I&gt; _avt_r1 _avt_f(arg&lt;I&gt; (*) ());
<span class="lineNum">    1052 </span>                : template&lt;class R, class F, class L&gt; _avt_r1 _avt_f(bind_t&lt;R, F, L&gt;);
<span class="lineNum">    1053 </span>                : 
<span class="lineNum">    1054 </span>                : _avt_r2 _avt_f(...);
<span class="lineNum">    1055 </span>                : 
<span class="lineNum">    1056 </span>                : template&lt;class T&gt; struct add_value
<span class="lineNum">    1057 </span>                : {
<span class="lineNum">    1058 </span>                :     static T t();
<span class="lineNum">    1059 </span>                :     typedef typename _avt_0&lt;sizeof(_avt_f(t()))&gt;::template inner&lt;T&gt;::type type;
<span class="lineNum">    1060 </span>                : };
<span class="lineNum">    1061 </span>                : 
<span class="lineNum">    1062 </span>                : #endif
<span class="lineNum">    1063 </span>                : 
<span class="lineNum">    1064 </span>                : // list_av_N
<span class="lineNum">    1065 </span>                : 
<span class="lineNum">    1066 </span>                : template&lt;class A1&gt; struct list_av_1
<span class="lineNum">    1067 </span>                : {
<span class="lineNum">    1068 </span>                :     typedef typename add_value&lt;A1&gt;::type B1;
<span class="lineNum">    1069 </span>                :     typedef list1&lt;B1&gt; type;
<span class="lineNum">    1070 </span>                : };
<span class="lineNum">    1071 </span>                : 
<span class="lineNum">    1072 </span>                : template&lt;class A1, class A2&gt; struct list_av_2
<span class="lineNum">    1073 </span>                : {
<span class="lineNum">    1074 </span>                :     typedef typename add_value&lt;A1&gt;::type B1;
<span class="lineNum">    1075 </span>                :     typedef typename add_value&lt;A2&gt;::type B2;
<span class="lineNum">    1076 </span>                :     typedef list2&lt;B1, B2&gt; type;
<span class="lineNum">    1077 </span>                : };
<span class="lineNum">    1078 </span>                : 
<span class="lineNum">    1079 </span>                : template&lt;class A1, class A2, class A3&gt; struct list_av_3
<span class="lineNum">    1080 </span>                : {
<span class="lineNum">    1081 </span>                :     typedef typename add_value&lt;A1&gt;::type B1;
<span class="lineNum">    1082 </span>                :     typedef typename add_value&lt;A2&gt;::type B2;
<span class="lineNum">    1083 </span>                :     typedef typename add_value&lt;A3&gt;::type B3;
<span class="lineNum">    1084 </span>                :     typedef list3&lt;B1, B2, B3&gt; type;
<span class="lineNum">    1085 </span>                : };
<span class="lineNum">    1086 </span>                : 
<span class="lineNum">    1087 </span>                : template&lt;class A1, class A2, class A3, class A4&gt; struct list_av_4
<span class="lineNum">    1088 </span>                : {
<span class="lineNum">    1089 </span>                :     typedef typename add_value&lt;A1&gt;::type B1;
<span class="lineNum">    1090 </span>                :     typedef typename add_value&lt;A2&gt;::type B2;
<span class="lineNum">    1091 </span>                :     typedef typename add_value&lt;A3&gt;::type B3;
<span class="lineNum">    1092 </span>                :     typedef typename add_value&lt;A4&gt;::type B4;
<span class="lineNum">    1093 </span>                :     typedef list4&lt;B1, B2, B3, B4&gt; type;
<span class="lineNum">    1094 </span>                : };
<span class="lineNum">    1095 </span>                : 
<span class="lineNum">    1096 </span>                : template&lt;class A1, class A2, class A3, class A4, class A5&gt; struct list_av_5
<span class="lineNum">    1097 </span>                : {
<span class="lineNum">    1098 </span>                :     typedef typename add_value&lt;A1&gt;::type B1;
<span class="lineNum">    1099 </span>                :     typedef typename add_value&lt;A2&gt;::type B2;
<span class="lineNum">    1100 </span>                :     typedef typename add_value&lt;A3&gt;::type B3;
<span class="lineNum">    1101 </span>                :     typedef typename add_value&lt;A4&gt;::type B4;
<span class="lineNum">    1102 </span>                :     typedef typename add_value&lt;A5&gt;::type B5;
<span class="lineNum">    1103 </span>                :     typedef list5&lt;B1, B2, B3, B4, B5&gt; type;
<span class="lineNum">    1104 </span>                : };
<span class="lineNum">    1105 </span>                : 
<span class="lineNum">    1106 </span>                : template&lt;class A1, class A2, class A3, class A4, class A5, class A6&gt; struct list_av_6
<span class="lineNum">    1107 </span>                : {
<span class="lineNum">    1108 </span>                :     typedef typename add_value&lt;A1&gt;::type B1;
<span class="lineNum">    1109 </span>                :     typedef typename add_value&lt;A2&gt;::type B2;
<span class="lineNum">    1110 </span>                :     typedef typename add_value&lt;A3&gt;::type B3;
<span class="lineNum">    1111 </span>                :     typedef typename add_value&lt;A4&gt;::type B4;
<span class="lineNum">    1112 </span>                :     typedef typename add_value&lt;A5&gt;::type B5;
<span class="lineNum">    1113 </span>                :     typedef typename add_value&lt;A6&gt;::type B6;
<span class="lineNum">    1114 </span>                :     typedef list6&lt;B1, B2, B3, B4, B5, B6&gt; type;
<span class="lineNum">    1115 </span>                : };
<span class="lineNum">    1116 </span>                : 
<span class="lineNum">    1117 </span>                : template&lt;class A1, class A2, class A3, class A4, class A5, class A6, class A7&gt; struct list_av_7
<span class="lineNum">    1118 </span>                : {
<span class="lineNum">    1119 </span>                :     typedef typename add_value&lt;A1&gt;::type B1;
<span class="lineNum">    1120 </span>                :     typedef typename add_value&lt;A2&gt;::type B2;
<span class="lineNum">    1121 </span>                :     typedef typename add_value&lt;A3&gt;::type B3;
<span class="lineNum">    1122 </span>                :     typedef typename add_value&lt;A4&gt;::type B4;
<span class="lineNum">    1123 </span>                :     typedef typename add_value&lt;A5&gt;::type B5;
<span class="lineNum">    1124 </span>                :     typedef typename add_value&lt;A6&gt;::type B6;
<span class="lineNum">    1125 </span>                :     typedef typename add_value&lt;A7&gt;::type B7;
<span class="lineNum">    1126 </span>                :     typedef list7&lt;B1, B2, B3, B4, B5, B6, B7&gt; type;
<span class="lineNum">    1127 </span>                : };
<span class="lineNum">    1128 </span>                : 
<span class="lineNum">    1129 </span>                : template&lt;class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8&gt; struct list_av_8
<span class="lineNum">    1130 </span>                : {
<span class="lineNum">    1131 </span>                :     typedef typename add_value&lt;A1&gt;::type B1;
<span class="lineNum">    1132 </span>                :     typedef typename add_value&lt;A2&gt;::type B2;
<span class="lineNum">    1133 </span>                :     typedef typename add_value&lt;A3&gt;::type B3;
<span class="lineNum">    1134 </span>                :     typedef typename add_value&lt;A4&gt;::type B4;
<span class="lineNum">    1135 </span>                :     typedef typename add_value&lt;A5&gt;::type B5;
<span class="lineNum">    1136 </span>                :     typedef typename add_value&lt;A6&gt;::type B6;
<span class="lineNum">    1137 </span>                :     typedef typename add_value&lt;A7&gt;::type B7;
<span class="lineNum">    1138 </span>                :     typedef typename add_value&lt;A8&gt;::type B8;
<span class="lineNum">    1139 </span>                :     typedef list8&lt;B1, B2, B3, B4, B5, B6, B7, B8&gt; type;
<span class="lineNum">    1140 </span>                : };
<span class="lineNum">    1141 </span>                : 
<span class="lineNum">    1142 </span>                : template&lt;class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9&gt; struct list_av_9
<span class="lineNum">    1143 </span>                : {
<span class="lineNum">    1144 </span>                :     typedef typename add_value&lt;A1&gt;::type B1;
<span class="lineNum">    1145 </span>                :     typedef typename add_value&lt;A2&gt;::type B2;
<span class="lineNum">    1146 </span>                :     typedef typename add_value&lt;A3&gt;::type B3;
<span class="lineNum">    1147 </span>                :     typedef typename add_value&lt;A4&gt;::type B4;
<span class="lineNum">    1148 </span>                :     typedef typename add_value&lt;A5&gt;::type B5;
<span class="lineNum">    1149 </span>                :     typedef typename add_value&lt;A6&gt;::type B6;
<span class="lineNum">    1150 </span>                :     typedef typename add_value&lt;A7&gt;::type B7;
<span class="lineNum">    1151 </span>                :     typedef typename add_value&lt;A8&gt;::type B8;
<span class="lineNum">    1152 </span>                :     typedef typename add_value&lt;A9&gt;::type B9;
<span class="lineNum">    1153 </span>                :     typedef list9&lt;B1, B2, B3, B4, B5, B6, B7, B8, B9&gt; type;
<span class="lineNum">    1154 </span>                : };
<span class="lineNum">    1155 </span>                : 
<span class="lineNum">    1156 </span>                : // operator!
<span class="lineNum">    1157 </span>                : 
<span class="lineNum">    1158 </span>                : struct logical_not
<span class="lineNum">    1159 </span>                : {
<span class="lineNum">    1160 </span>                :     template&lt;class V&gt; bool operator()(V const &amp; v) const { return !v; }
<span class="lineNum">    1161 </span>                : };
<span class="lineNum">    1162 </span>                : 
<span class="lineNum">    1163 </span>                : template&lt;class R, class F, class L&gt;
<span class="lineNum">    1164 </span>                :     bind_t&lt; bool, logical_not, list1&lt; bind_t&lt;R, F, L&gt; &gt; &gt;
<span class="lineNum">    1165 </span>                :     operator! (bind_t&lt;R, F, L&gt; const &amp; f)
<span class="lineNum">    1166 </span>                : {
<span class="lineNum">    1167 </span>                :     typedef list1&lt; bind_t&lt;R, F, L&gt; &gt; list_type;
<span class="lineNum">    1168 </span>                :     return bind_t&lt;bool, logical_not, list_type&gt; ( logical_not(), list_type(f) );
<span class="lineNum">    1169 </span>                : }
<span class="lineNum">    1170 </span>                : 
<span class="lineNum">    1171 </span>                : // relational operators
<span class="lineNum">    1172 </span>                : 
<span class="lineNum">    1173 </span>                : #define BOOST_BIND_OPERATOR( op, name ) \
<span class="lineNum">    1174 </span>                : \
<span class="lineNum">    1175 </span>                : struct name \
<span class="lineNum">    1176 </span>                : { \
<span class="lineNum">    1177 </span>                :     template&lt;class V, class W&gt; bool operator()(V const &amp; v, W const &amp; w) const { return v op w; } \
<span class="lineNum">    1178 </span>                : }; \
<span class="lineNum">    1179 </span>                :  \
<span class="lineNum">    1180 </span>                : template&lt;class R, class F, class L, class A2&gt; \
<span class="lineNum">    1181 </span>                :     bind_t&lt; bool, name, list2&lt; bind_t&lt;R, F, L&gt;, typename add_value&lt;A2&gt;::type &gt; &gt; \
<span class="lineNum">    1182 </span>                :     operator op (bind_t&lt;R, F, L&gt; const &amp; f, A2 a2) \
<span class="lineNum">    1183 </span>                : { \
<span class="lineNum">    1184 </span>                :     typedef typename add_value&lt;A2&gt;::type B2; \
<span class="lineNum">    1185 </span>                :     typedef list2&lt; bind_t&lt;R, F, L&gt;, B2&gt; list_type; \
<span class="lineNum">    1186 </span>                :     return bind_t&lt;bool, name, list_type&gt; ( name(), list_type(f, a2) ); \
<span class="lineNum">    1187 </span>                : }
<span class="lineNum">    1188 </span>                : 
<span class="lineNum">    1189 </span>                : BOOST_BIND_OPERATOR( ==, equal )
<span class="lineNum">    1190 </span>                : BOOST_BIND_OPERATOR( !=, not_equal )
<span class="lineNum">    1191 </span>                : 
<span class="lineNum">    1192 </span>                : BOOST_BIND_OPERATOR( &lt;, less )
<span class="lineNum">    1193 </span>                : BOOST_BIND_OPERATOR( &lt;=, less_equal )
<span class="lineNum">    1194 </span>                : 
<span class="lineNum">    1195 </span>                : BOOST_BIND_OPERATOR( &gt;, greater )
<span class="lineNum">    1196 </span>                : BOOST_BIND_OPERATOR( &gt;=, greater_equal )
<span class="lineNum">    1197 </span>                : 
<span class="lineNum">    1198 </span>                : BOOST_BIND_OPERATOR( &amp;&amp;, logical_and )
<span class="lineNum">    1199 </span>                : BOOST_BIND_OPERATOR( ||, logical_or )
<span class="lineNum">    1200 </span>                : 
<span class="lineNum">    1201 </span>                : #undef BOOST_BIND_OPERATOR
<span class="lineNum">    1202 </span>                : 
<span class="lineNum">    1203 </span>                : #if defined(__GNUC__) &amp;&amp; BOOST_WORKAROUND(__GNUC__, &lt; 3)
<span class="lineNum">    1204 </span>                : 
<span class="lineNum">    1205 </span>                : // resolve ambiguity with rel_ops
<span class="lineNum">    1206 </span>                : 
<span class="lineNum">    1207 </span>                : #define BOOST_BIND_OPERATOR( op, name ) \
<span class="lineNum">    1208 </span>                : \
<span class="lineNum">    1209 </span>                : template&lt;class R, class F, class L&gt; \
<span class="lineNum">    1210 </span>                :     bind_t&lt; bool, name, list2&lt; bind_t&lt;R, F, L&gt;, bind_t&lt;R, F, L&gt; &gt; &gt; \
<span class="lineNum">    1211 </span>                :     operator op (bind_t&lt;R, F, L&gt; const &amp; f, bind_t&lt;R, F, L&gt; const &amp; g) \
<span class="lineNum">    1212 </span>                : { \
<span class="lineNum">    1213 </span>                :     typedef list2&lt; bind_t&lt;R, F, L&gt;, bind_t&lt;R, F, L&gt; &gt; list_type; \
<span class="lineNum">    1214 </span>                :     return bind_t&lt;bool, name, list_type&gt; ( name(), list_type(f, g) ); \
<span class="lineNum">    1215 </span>                : }
<span class="lineNum">    1216 </span>                : 
<span class="lineNum">    1217 </span>                : BOOST_BIND_OPERATOR( !=, not_equal )
<span class="lineNum">    1218 </span>                : BOOST_BIND_OPERATOR( &lt;=, less_equal )
<span class="lineNum">    1219 </span>                : BOOST_BIND_OPERATOR( &gt;, greater )
<span class="lineNum">    1220 </span>                : BOOST_BIND_OPERATOR( &gt;=, greater_equal )
<span class="lineNum">    1221 </span>                : 
<span class="lineNum">    1222 </span>                : #endif
<span class="lineNum">    1223 </span>                : 
<span class="lineNum">    1224 </span>                : // visit_each, ADL
<span class="lineNum">    1225 </span>                : 
<span class="lineNum">    1226 </span>                : #if !defined( BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP ) &amp;&amp; !defined( __BORLANDC__ ) \
<span class="lineNum">    1227 </span>                :    &amp;&amp; !(defined(__GNUC__) &amp;&amp; __GNUC__ == 3 &amp;&amp; __GNUC_MINOR__ &lt;= 3)
<span class="lineNum">    1228 </span>                : 
<span class="lineNum">    1229 </span>                : template&lt;class V, class T&gt; void visit_each( V &amp; v, value&lt;T&gt; const &amp; t, int )
<span class="lineNum">    1230 </span>                : {
<span class="lineNum">    1231 </span>                :     using boost::visit_each;
<span class="lineNum">    1232 </span>                :     BOOST_BIND_VISIT_EACH( v, t.get(), 0 );
<span class="lineNum">    1233 </span>                : }
<span class="lineNum">    1234 </span>                : 
<span class="lineNum">    1235 </span>                : template&lt;class V, class R, class F, class L&gt; void visit_each( V &amp; v, bind_t&lt;R, F, L&gt; const &amp; t, int )
<span class="lineNum">    1236 </span>                : {
<span class="lineNum">    1237 </span>                :     t.accept( v );
<span class="lineNum">    1238 </span>                : }
<span class="lineNum">    1239 </span>                : 
<span class="lineNum">    1240 </span>                : #endif
<span class="lineNum">    1241 </span>                : 
<span class="lineNum">    1242 </span>                : } // namespace _bi
<span class="lineNum">    1243 </span>                : 
<span class="lineNum">    1244 </span>                : // visit_each, no ADL
<span class="lineNum">    1245 </span>                : 
<span class="lineNum">    1246 </span>                : #if defined( BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP ) || defined( __BORLANDC__ ) \
<span class="lineNum">    1247 </span>                :   || (defined(__GNUC__) &amp;&amp; __GNUC__ == 3 &amp;&amp; __GNUC_MINOR__ &lt;= 3)
<span class="lineNum">    1248 </span>                : 
<span class="lineNum">    1249 </span>                : template&lt;class V, class T&gt; void visit_each( V &amp; v, _bi::value&lt;T&gt; const &amp; t, int )
<span class="lineNum">    1250 </span>                : {
<span class="lineNum">    1251 </span>                :     BOOST_BIND_VISIT_EACH( v, t.get(), 0 );
<span class="lineNum">    1252 </span>                : }
<span class="lineNum">    1253 </span>                : 
<span class="lineNum">    1254 </span>                : template&lt;class V, class R, class F, class L&gt; void visit_each( V &amp; v, _bi::bind_t&lt;R, F, L&gt; const &amp; t, int )
<span class="lineNum">    1255 </span>                : {
<span class="lineNum">    1256 </span>                :     t.accept( v );
<span class="lineNum">    1257 </span>                : }
<span class="lineNum">    1258 </span>                : 
<span class="lineNum">    1259 </span>                : #endif
<span class="lineNum">    1260 </span>                : 
<span class="lineNum">    1261 </span>                : // is_bind_expression
<span class="lineNum">    1262 </span>                : 
<span class="lineNum">    1263 </span>                : template&lt; class T &gt; struct is_bind_expression
<span class="lineNum">    1264 </span>                : {
<span class="lineNum">    1265 </span>                :     enum _vt { value = 0 };
<span class="lineNum">    1266 </span>                : };
<span class="lineNum">    1267 </span>                : 
<span class="lineNum">    1268 </span>                : #if !defined( BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION )
<span class="lineNum">    1269 </span>                : 
<span class="lineNum">    1270 </span>                : template&lt; class R, class F, class L &gt; struct is_bind_expression&lt; _bi::bind_t&lt; R, F, L &gt; &gt;
<span class="lineNum">    1271 </span>                : {
<span class="lineNum">    1272 </span>                :     enum _vt { value = 1 };
<span class="lineNum">    1273 </span>                : };
<span class="lineNum">    1274 </span>                : 
<span class="lineNum">    1275 </span>                : #endif
<span class="lineNum">    1276 </span>                : 
<span class="lineNum">    1277 </span>                : // bind
<span class="lineNum">    1278 </span>                : 
<span class="lineNum">    1279 </span>                : #ifndef BOOST_BIND
<span class="lineNum">    1280 </span>                : #define BOOST_BIND bind
<span class="lineNum">    1281 </span>                : #endif
<span class="lineNum">    1282 </span>                : 
<span class="lineNum">    1283 </span>                : // generic function objects
<span class="lineNum">    1284 </span>                : 
<span class="lineNum">    1285 </span>                : template&lt;class R, class F&gt;
<span class="lineNum">    1286 </span>                :     _bi::bind_t&lt;R, F, _bi::list0&gt;
<span class="lineNum">    1287 </span>                :     BOOST_BIND(F f)
<span class="lineNum">    1288 </span>                : {
<span class="lineNum">    1289 </span>                :     typedef _bi::list0 list_type;
<span class="lineNum">    1290 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt; (f, list_type());
<span class="lineNum">    1291 </span>                : }
<span class="lineNum">    1292 </span>                : 
<span class="lineNum">    1293 </span>                : template&lt;class R, class F, class A1&gt;
<span class="lineNum">    1294 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_1&lt;A1&gt;::type&gt;
<span class="lineNum">    1295 </span>                :     BOOST_BIND(F f, A1 a1)
<span class="lineNum">    1296 </span>                : {
<span class="lineNum">    1297 </span>                :     typedef typename _bi::list_av_1&lt;A1&gt;::type list_type;
<span class="lineNum">    1298 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt; (f, list_type(a1));
<span class="lineNum">    1299 </span>                : }
<span class="lineNum">    1300 </span>                : 
<span class="lineNum">    1301 </span>                : template&lt;class R, class F, class A1, class A2&gt;
<span class="lineNum">    1302 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_2&lt;A1, A2&gt;::type&gt;
<span class="lineNum">    1303 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2)
<span class="lineNum">    1304 </span>                : {
<span class="lineNum">    1305 </span>                :     typedef typename _bi::list_av_2&lt;A1, A2&gt;::type list_type;
<span class="lineNum">    1306 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt; (f, list_type(a1, a2));
<span class="lineNum">    1307 </span>                : }
<span class="lineNum">    1308 </span>                : 
<span class="lineNum">    1309 </span>                : template&lt;class R, class F, class A1, class A2, class A3&gt;
<span class="lineNum">    1310 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_3&lt;A1, A2, A3&gt;::type&gt;
<span class="lineNum">    1311 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3)
<span class="lineNum">    1312 </span>                : {
<span class="lineNum">    1313 </span>                :     typedef typename _bi::list_av_3&lt;A1, A2, A3&gt;::type list_type;
<span class="lineNum">    1314 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3));
<span class="lineNum">    1315 </span>                : }
<span class="lineNum">    1316 </span>                : 
<span class="lineNum">    1317 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4&gt;
<span class="lineNum">    1318 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_4&lt;A1, A2, A3, A4&gt;::type&gt;
<span class="lineNum">    1319 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4)
<span class="lineNum">    1320 </span>                : {
<span class="lineNum">    1321 </span>                :     typedef typename _bi::list_av_4&lt;A1, A2, A3, A4&gt;::type list_type;
<span class="lineNum">    1322 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4));
<span class="lineNum">    1323 </span>                : }
<span class="lineNum">    1324 </span>                : 
<span class="lineNum">    1325 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4, class A5&gt;
<span class="lineNum">    1326 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_5&lt;A1, A2, A3, A4, A5&gt;::type&gt;
<span class="lineNum">    1327 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5)
<span class="lineNum">    1328 </span>                : {
<span class="lineNum">    1329 </span>                :     typedef typename _bi::list_av_5&lt;A1, A2, A3, A4, A5&gt;::type list_type;
<span class="lineNum">    1330 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5));
<span class="lineNum">    1331 </span>                : }
<span class="lineNum">    1332 </span>                : 
<span class="lineNum">    1333 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4, class A5, class A6&gt;
<span class="lineNum">    1334 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_6&lt;A1, A2, A3, A4, A5, A6&gt;::type&gt;
<span class="lineNum">    1335 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6)
<span class="lineNum">    1336 </span>                : {
<span class="lineNum">    1337 </span>                :     typedef typename _bi::list_av_6&lt;A1, A2, A3, A4, A5, A6&gt;::type list_type;
<span class="lineNum">    1338 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6));
<span class="lineNum">    1339 </span>                : }
<span class="lineNum">    1340 </span>                : 
<span class="lineNum">    1341 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4, class A5, class A6, class A7&gt;
<span class="lineNum">    1342 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_7&lt;A1, A2, A3, A4, A5, A6, A7&gt;::type&gt;
<span class="lineNum">    1343 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7)
<span class="lineNum">    1344 </span>                : {
<span class="lineNum">    1345 </span>                :     typedef typename _bi::list_av_7&lt;A1, A2, A3, A4, A5, A6, A7&gt;::type list_type;
<span class="lineNum">    1346 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6, a7));
<span class="lineNum">    1347 </span>                : }
<span class="lineNum">    1348 </span>                : 
<span class="lineNum">    1349 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8&gt;
<span class="lineNum">    1350 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_8&lt;A1, A2, A3, A4, A5, A6, A7, A8&gt;::type&gt;
<span class="lineNum">    1351 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8)
<span class="lineNum">    1352 </span>                : {
<span class="lineNum">    1353 </span>                :     typedef typename _bi::list_av_8&lt;A1, A2, A3, A4, A5, A6, A7, A8&gt;::type list_type;
<span class="lineNum">    1354 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6, a7, a8));
<span class="lineNum">    1355 </span>                : }
<span class="lineNum">    1356 </span>                : 
<span class="lineNum">    1357 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9&gt;
<span class="lineNum">    1358 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_9&lt;A1, A2, A3, A4, A5, A6, A7, A8, A9&gt;::type&gt;
<span class="lineNum">    1359 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9)
<span class="lineNum">    1360 </span>                : {
<span class="lineNum">    1361 </span>                :     typedef typename _bi::list_av_9&lt;A1, A2, A3, A4, A5, A6, A7, A8, A9&gt;::type list_type;
<span class="lineNum">    1362 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6, a7, a8, a9));
<span class="lineNum">    1363 </span>                : }
<span class="lineNum">    1364 </span>                : 
<span class="lineNum">    1365 </span>                : // generic function objects, alternative syntax
<span class="lineNum">    1366 </span>                : 
<span class="lineNum">    1367 </span>                : template&lt;class R, class F&gt;
<span class="lineNum">    1368 </span>                :     _bi::bind_t&lt;R, F, _bi::list0&gt;
<span class="lineNum">    1369 </span>                :     BOOST_BIND(boost::type&lt;R&gt;, F f)
<span class="lineNum">    1370 </span>                : {
<span class="lineNum">    1371 </span>                :     typedef _bi::list0 list_type;
<span class="lineNum">    1372 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt; (f, list_type());
<span class="lineNum">    1373 </span>                : }
<span class="lineNum">    1374 </span>                : 
<span class="lineNum">    1375 </span>                : template&lt;class R, class F, class A1&gt;
<span class="lineNum">    1376 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_1&lt;A1&gt;::type&gt;
<span class="lineNum">    1377 </span>                :     BOOST_BIND(boost::type&lt;R&gt;, F f, A1 a1)
<span class="lineNum">    1378 </span>                : {
<span class="lineNum">    1379 </span>                :     typedef typename _bi::list_av_1&lt;A1&gt;::type list_type;
<span class="lineNum">    1380 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt; (f, list_type(a1));
<span class="lineNum">    1381 </span>                : }
<span class="lineNum">    1382 </span>                : 
<span class="lineNum">    1383 </span>                : template&lt;class R, class F, class A1, class A2&gt;
<span class="lineNum">    1384 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_2&lt;A1, A2&gt;::type&gt;
<span class="lineNum">    1385 </span>                :     BOOST_BIND(boost::type&lt;R&gt;, F f, A1 a1, A2 a2)
<span class="lineNum">    1386 </span>                : {
<span class="lineNum">    1387 </span>                :     typedef typename _bi::list_av_2&lt;A1, A2&gt;::type list_type;
<span class="lineNum">    1388 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt; (f, list_type(a1, a2));
<span class="lineNum">    1389 </span>                : }
<span class="lineNum">    1390 </span>                : 
<span class="lineNum">    1391 </span>                : template&lt;class R, class F, class A1, class A2, class A3&gt;
<span class="lineNum">    1392 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_3&lt;A1, A2, A3&gt;::type&gt;
<span class="lineNum">    1393 </span>                :     BOOST_BIND(boost::type&lt;R&gt;, F f, A1 a1, A2 a2, A3 a3)
<span class="lineNum">    1394 </span>                : {
<span class="lineNum">    1395 </span>                :     typedef typename _bi::list_av_3&lt;A1, A2, A3&gt;::type list_type;
<span class="lineNum">    1396 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3));
<span class="lineNum">    1397 </span>                : }
<span class="lineNum">    1398 </span>                : 
<span class="lineNum">    1399 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4&gt;
<span class="lineNum">    1400 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_4&lt;A1, A2, A3, A4&gt;::type&gt;
<span class="lineNum">    1401 </span>                :     BOOST_BIND(boost::type&lt;R&gt;, F f, A1 a1, A2 a2, A3 a3, A4 a4)
<span class="lineNum">    1402 </span>                : {
<span class="lineNum">    1403 </span>                :     typedef typename _bi::list_av_4&lt;A1, A2, A3, A4&gt;::type list_type;
<span class="lineNum">    1404 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4));
<span class="lineNum">    1405 </span>                : }
<span class="lineNum">    1406 </span>                : 
<span class="lineNum">    1407 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4, class A5&gt;
<span class="lineNum">    1408 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_5&lt;A1, A2, A3, A4, A5&gt;::type&gt;
<span class="lineNum">    1409 </span>                :     BOOST_BIND(boost::type&lt;R&gt;, F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5)
<span class="lineNum">    1410 </span>                : {
<span class="lineNum">    1411 </span>                :     typedef typename _bi::list_av_5&lt;A1, A2, A3, A4, A5&gt;::type list_type;
<span class="lineNum">    1412 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5));
<span class="lineNum">    1413 </span>                : }
<span class="lineNum">    1414 </span>                : 
<span class="lineNum">    1415 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4, class A5, class A6&gt;
<span class="lineNum">    1416 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_6&lt;A1, A2, A3, A4, A5, A6&gt;::type&gt;
<span class="lineNum">    1417 </span>                :     BOOST_BIND(boost::type&lt;R&gt;, F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6)
<span class="lineNum">    1418 </span>                : {
<span class="lineNum">    1419 </span>                :     typedef typename _bi::list_av_6&lt;A1, A2, A3, A4, A5, A6&gt;::type list_type;
<span class="lineNum">    1420 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6));
<span class="lineNum">    1421 </span>                : }
<span class="lineNum">    1422 </span>                : 
<span class="lineNum">    1423 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4, class A5, class A6, class A7&gt;
<span class="lineNum">    1424 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_7&lt;A1, A2, A3, A4, A5, A6, A7&gt;::type&gt;
<span class="lineNum">    1425 </span>                :     BOOST_BIND(boost::type&lt;R&gt;, F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7)
<span class="lineNum">    1426 </span>                : {
<span class="lineNum">    1427 </span>                :     typedef typename _bi::list_av_7&lt;A1, A2, A3, A4, A5, A6, A7&gt;::type list_type;
<span class="lineNum">    1428 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6, a7));
<span class="lineNum">    1429 </span>                : }
<span class="lineNum">    1430 </span>                : 
<span class="lineNum">    1431 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8&gt;
<span class="lineNum">    1432 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_8&lt;A1, A2, A3, A4, A5, A6, A7, A8&gt;::type&gt;
<span class="lineNum">    1433 </span>                :     BOOST_BIND(boost::type&lt;R&gt;, F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8)
<span class="lineNum">    1434 </span>                : {
<span class="lineNum">    1435 </span>                :     typedef typename _bi::list_av_8&lt;A1, A2, A3, A4, A5, A6, A7, A8&gt;::type list_type;
<span class="lineNum">    1436 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6, a7, a8));
<span class="lineNum">    1437 </span>                : }
<span class="lineNum">    1438 </span>                : 
<span class="lineNum">    1439 </span>                : template&lt;class R, class F, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9&gt;
<span class="lineNum">    1440 </span>                :     _bi::bind_t&lt;R, F, typename _bi::list_av_9&lt;A1, A2, A3, A4, A5, A6, A7, A8, A9&gt;::type&gt;
<span class="lineNum">    1441 </span>                :     BOOST_BIND(boost::type&lt;R&gt;, F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9)
<span class="lineNum">    1442 </span>                : {
<span class="lineNum">    1443 </span>                :     typedef typename _bi::list_av_9&lt;A1, A2, A3, A4, A5, A6, A7, A8, A9&gt;::type list_type;
<span class="lineNum">    1444 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6, a7, a8, a9));
<span class="lineNum">    1445 </span>                : }
<span class="lineNum">    1446 </span>                : 
<span class="lineNum">    1447 </span>                : #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) &amp;&amp; !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING)
<span class="lineNum">    1448 </span>                : 
<span class="lineNum">    1449 </span>                : // adaptable function objects
<span class="lineNum">    1450 </span>                : 
<span class="lineNum">    1451 </span>                : template&lt;class F&gt;
<span class="lineNum">    1452 </span>                :     _bi::bind_t&lt;_bi::unspecified, F, _bi::list0&gt;
<span class="lineNum">    1453 </span>                :     BOOST_BIND(F f)
<span class="lineNum">    1454 </span>                : {
<span class="lineNum">    1455 </span>                :     typedef _bi::list0 list_type;
<span class="lineNum">    1456 </span>                :     return _bi::bind_t&lt;_bi::unspecified, F, list_type&gt; (f, list_type());
<span class="lineNum">    1457 </span>                : }
<span class="lineNum">    1458 </span>                : 
<span class="lineNum">    1459 </span>                : template&lt;class F, class A1&gt;
<span class="lineNum">    1460 </span>                :     _bi::bind_t&lt;_bi::unspecified, F, typename _bi::list_av_1&lt;A1&gt;::type&gt;
<span class="lineNum">    1461 </span>                :     BOOST_BIND(F f, A1 a1)
<span class="lineNum">    1462 </span>                : {
<span class="lineNum">    1463 </span>                :     typedef typename _bi::list_av_1&lt;A1&gt;::type list_type;
<span class="lineNum">    1464 </span>                :     return _bi::bind_t&lt;_bi::unspecified, F, list_type&gt; (f, list_type(a1));
<span class="lineNum">    1465 </span>                : }
<span class="lineNum">    1466 </span>                : 
<span class="lineNum">    1467 </span>                : template&lt;class F, class A1, class A2&gt;
<span class="lineNum">    1468 </span>                :     _bi::bind_t&lt;_bi::unspecified, F, typename _bi::list_av_2&lt;A1, A2&gt;::type&gt;
<span class="lineNum">    1469 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2)
<span class="lineNum">    1470 </span>                : {
<span class="lineNum">    1471 </span>                :     typedef typename _bi::list_av_2&lt;A1, A2&gt;::type list_type;
<span class="lineNum">    1472 </span>                :     return _bi::bind_t&lt;_bi::unspecified, F, list_type&gt; (f, list_type(a1, a2));
<span class="lineNum">    1473 </span>                : }
<span class="lineNum">    1474 </span>                : 
<span class="lineNum">    1475 </span>                : template&lt;class F, class A1, class A2, class A3&gt;
<span class="lineNum">    1476 </span>                :     _bi::bind_t&lt;_bi::unspecified, F, typename _bi::list_av_3&lt;A1, A2, A3&gt;::type&gt;
<span class="lineNum">    1477 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3)
<span class="lineNum">    1478 </span>                : {
<span class="lineNum">    1479 </span>                :     typedef typename _bi::list_av_3&lt;A1, A2, A3&gt;::type list_type;
<span class="lineNum">    1480 </span>                :     return _bi::bind_t&lt;_bi::unspecified, F, list_type&gt;(f, list_type(a1, a2, a3));
<span class="lineNum">    1481 </span>                : }
<span class="lineNum">    1482 </span>                : 
<span class="lineNum">    1483 </span>                : template&lt;class F, class A1, class A2, class A3, class A4&gt;
<span class="lineNum">    1484 </span>                :     _bi::bind_t&lt;_bi::unspecified, F, typename _bi::list_av_4&lt;A1, A2, A3, A4&gt;::type&gt;
<span class="lineNum">    1485 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4)
<span class="lineNum">    1486 </span>                : {
<span class="lineNum">    1487 </span>                :     typedef typename _bi::list_av_4&lt;A1, A2, A3, A4&gt;::type list_type;
<span class="lineNum">    1488 </span>                :     return _bi::bind_t&lt;_bi::unspecified, F, list_type&gt;(f, list_type(a1, a2, a3, a4));
<span class="lineNum">    1489 </span>                : }
<span class="lineNum">    1490 </span>                : 
<span class="lineNum">    1491 </span>                : template&lt;class F, class A1, class A2, class A3, class A4, class A5&gt;
<span class="lineNum">    1492 </span>                :     _bi::bind_t&lt;_bi::unspecified, F, typename _bi::list_av_5&lt;A1, A2, A3, A4, A5&gt;::type&gt;
<span class="lineNum">    1493 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5)
<span class="lineNum">    1494 </span>                : {
<span class="lineNum">    1495 </span>                :     typedef typename _bi::list_av_5&lt;A1, A2, A3, A4, A5&gt;::type list_type;
<span class="lineNum">    1496 </span>                :     return _bi::bind_t&lt;_bi::unspecified, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5));
<span class="lineNum">    1497 </span>                : }
<span class="lineNum">    1498 </span>                : 
<span class="lineNum">    1499 </span>                : template&lt;class F, class A1, class A2, class A3, class A4, class A5, class A6&gt;
<span class="lineNum">    1500 </span>                :     _bi::bind_t&lt;_bi::unspecified, F, typename _bi::list_av_6&lt;A1, A2, A3, A4, A5, A6&gt;::type&gt;
<span class="lineNum">    1501 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6)
<span class="lineNum">    1502 </span>                : {
<span class="lineNum">    1503 </span>                :     typedef typename _bi::list_av_6&lt;A1, A2, A3, A4, A5, A6&gt;::type list_type;
<span class="lineNum">    1504 </span>                :     return _bi::bind_t&lt;_bi::unspecified, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6));
<span class="lineNum">    1505 </span>                : }
<span class="lineNum">    1506 </span>                : 
<span class="lineNum">    1507 </span>                : template&lt;class F, class A1, class A2, class A3, class A4, class A5, class A6, class A7&gt;
<span class="lineNum">    1508 </span>                :     _bi::bind_t&lt;_bi::unspecified, F, typename _bi::list_av_7&lt;A1, A2, A3, A4, A5, A6, A7&gt;::type&gt;
<span class="lineNum">    1509 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7)
<span class="lineNum">    1510 </span>                : {
<span class="lineNum">    1511 </span>                :     typedef typename _bi::list_av_7&lt;A1, A2, A3, A4, A5, A6, A7&gt;::type list_type;
<span class="lineNum">    1512 </span>                :     return _bi::bind_t&lt;_bi::unspecified, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6, a7));
<span class="lineNum">    1513 </span>                : }
<span class="lineNum">    1514 </span>                : 
<span class="lineNum">    1515 </span>                : template&lt;class F, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8&gt;
<span class="lineNum">    1516 </span>                :     _bi::bind_t&lt;_bi::unspecified, F, typename _bi::list_av_8&lt;A1, A2, A3, A4, A5, A6, A7, A8&gt;::type&gt;
<span class="lineNum">    1517 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8)
<span class="lineNum">    1518 </span>                : {
<span class="lineNum">    1519 </span>                :     typedef typename _bi::list_av_8&lt;A1, A2, A3, A4, A5, A6, A7, A8&gt;::type list_type;
<span class="lineNum">    1520 </span>                :     return _bi::bind_t&lt;_bi::unspecified, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6, a7, a8));
<span class="lineNum">    1521 </span>                : }
<span class="lineNum">    1522 </span>                : 
<span class="lineNum">    1523 </span>                : template&lt;class F, class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9&gt;
<span class="lineNum">    1524 </span>                :     _bi::bind_t&lt;_bi::unspecified, F, typename _bi::list_av_9&lt;A1, A2, A3, A4, A5, A6, A7, A8, A9&gt;::type&gt;
<span class="lineNum">    1525 </span>                :     BOOST_BIND(F f, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9)
<span class="lineNum">    1526 </span>                : {
<span class="lineNum">    1527 </span>                :     typedef typename _bi::list_av_9&lt;A1, A2, A3, A4, A5, A6, A7, A8, A9&gt;::type list_type;
<span class="lineNum">    1528 </span>                :     return _bi::bind_t&lt;_bi::unspecified, F, list_type&gt;(f, list_type(a1, a2, a3, a4, a5, a6, a7, a8, a9));
<span class="lineNum">    1529 </span>                : }
<span class="lineNum">    1530 </span>                : 
<span class="lineNum">    1531 </span>                : #endif // !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) &amp;&amp; !defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING)
<span class="lineNum">    1532 </span>                : 
<span class="lineNum">    1533 </span>                : // function pointers
<span class="lineNum">    1534 </span>                : 
<span class="lineNum">    1535 </span>                : #define BOOST_BIND_CC
<span class="lineNum">    1536 </span>                : #define BOOST_BIND_ST
<span class="lineNum">    1537 </span>                : 
<span class="lineNum">    1538 </span>                : #include &lt;boost/bind/bind_cc.hpp&gt;
<span class="lineNum">    1539 </span>                : 
<span class="lineNum">    1540 </span>                : #undef BOOST_BIND_CC
<span class="lineNum">    1541 </span>                : #undef BOOST_BIND_ST
<span class="lineNum">    1542 </span>                : 
<span class="lineNum">    1543 </span>                : #ifdef BOOST_BIND_ENABLE_STDCALL
<span class="lineNum">    1544 </span>                : 
<span class="lineNum">    1545 </span>                : #define BOOST_BIND_CC __stdcall
<span class="lineNum">    1546 </span>                : #define BOOST_BIND_ST
<span class="lineNum">    1547 </span>                : 
<span class="lineNum">    1548 </span>                : #include &lt;boost/bind/bind_cc.hpp&gt;
<span class="lineNum">    1549 </span>                : 
<span class="lineNum">    1550 </span>                : #undef BOOST_BIND_CC
<span class="lineNum">    1551 </span>                : #undef BOOST_BIND_ST
<span class="lineNum">    1552 </span>                : 
<span class="lineNum">    1553 </span>                : #endif
<span class="lineNum">    1554 </span>                : 
<span class="lineNum">    1555 </span>                : #ifdef BOOST_BIND_ENABLE_FASTCALL
<span class="lineNum">    1556 </span>                : 
<span class="lineNum">    1557 </span>                : #define BOOST_BIND_CC __fastcall
<span class="lineNum">    1558 </span>                : #define BOOST_BIND_ST
<span class="lineNum">    1559 </span>                : 
<span class="lineNum">    1560 </span>                : #include &lt;boost/bind/bind_cc.hpp&gt;
<span class="lineNum">    1561 </span>                : 
<span class="lineNum">    1562 </span>                : #undef BOOST_BIND_CC
<span class="lineNum">    1563 </span>                : #undef BOOST_BIND_ST
<span class="lineNum">    1564 </span>                : 
<span class="lineNum">    1565 </span>                : #endif
<span class="lineNum">    1566 </span>                : 
<span class="lineNum">    1567 </span>                : #ifdef BOOST_BIND_ENABLE_PASCAL
<span class="lineNum">    1568 </span>                : 
<span class="lineNum">    1569 </span>                : #define BOOST_BIND_ST pascal
<span class="lineNum">    1570 </span>                : #define BOOST_BIND_CC
<span class="lineNum">    1571 </span>                : 
<span class="lineNum">    1572 </span>                : #include &lt;boost/bind/bind_cc.hpp&gt;
<span class="lineNum">    1573 </span>                : 
<span class="lineNum">    1574 </span>                : #undef BOOST_BIND_ST
<span class="lineNum">    1575 </span>                : #undef BOOST_BIND_CC
<span class="lineNum">    1576 </span>                : 
<span class="lineNum">    1577 </span>                : #endif
<span class="lineNum">    1578 </span>                : 
<span class="lineNum">    1579 </span>                : // member function pointers
<span class="lineNum">    1580 </span>                : 
<span class="lineNum">    1581 </span>                : #define BOOST_BIND_MF_NAME(X) X
<span class="lineNum">    1582 </span>                : #define BOOST_BIND_MF_CC
<span class="lineNum">    1583 </span>                : 
<span class="lineNum">    1584 </span>                : #include &lt;boost/bind/bind_mf_cc.hpp&gt;
<span class="lineNum">    1585 </span>                : #include &lt;boost/bind/bind_mf2_cc.hpp&gt;
<span class="lineNum">    1586 </span>                : 
<span class="lineNum">    1587 </span>                : #undef BOOST_BIND_MF_NAME
<span class="lineNum">    1588 </span>                : #undef BOOST_BIND_MF_CC
<span class="lineNum">    1589 </span>                : 
<span class="lineNum">    1590 </span>                : #ifdef BOOST_MEM_FN_ENABLE_CDECL
<span class="lineNum">    1591 </span>                : 
<span class="lineNum">    1592 </span>                : #define BOOST_BIND_MF_NAME(X) X##_cdecl
<span class="lineNum">    1593 </span>                : #define BOOST_BIND_MF_CC __cdecl
<span class="lineNum">    1594 </span>                : 
<span class="lineNum">    1595 </span>                : #include &lt;boost/bind/bind_mf_cc.hpp&gt;
<span class="lineNum">    1596 </span>                : #include &lt;boost/bind/bind_mf2_cc.hpp&gt;
<span class="lineNum">    1597 </span>                : 
<span class="lineNum">    1598 </span>                : #undef BOOST_BIND_MF_NAME
<span class="lineNum">    1599 </span>                : #undef BOOST_BIND_MF_CC
<span class="lineNum">    1600 </span>                : 
<span class="lineNum">    1601 </span>                : #endif
<span class="lineNum">    1602 </span>                : 
<span class="lineNum">    1603 </span>                : #ifdef BOOST_MEM_FN_ENABLE_STDCALL
<span class="lineNum">    1604 </span>                : 
<span class="lineNum">    1605 </span>                : #define BOOST_BIND_MF_NAME(X) X##_stdcall
<span class="lineNum">    1606 </span>                : #define BOOST_BIND_MF_CC __stdcall
<span class="lineNum">    1607 </span>                : 
<span class="lineNum">    1608 </span>                : #include &lt;boost/bind/bind_mf_cc.hpp&gt;
<span class="lineNum">    1609 </span>                : #include &lt;boost/bind/bind_mf2_cc.hpp&gt;
<span class="lineNum">    1610 </span>                : 
<span class="lineNum">    1611 </span>                : #undef BOOST_BIND_MF_NAME
<span class="lineNum">    1612 </span>                : #undef BOOST_BIND_MF_CC
<span class="lineNum">    1613 </span>                : 
<span class="lineNum">    1614 </span>                : #endif
<span class="lineNum">    1615 </span>                : 
<span class="lineNum">    1616 </span>                : #ifdef BOOST_MEM_FN_ENABLE_FASTCALL
<span class="lineNum">    1617 </span>                : 
<span class="lineNum">    1618 </span>                : #define BOOST_BIND_MF_NAME(X) X##_fastcall
<span class="lineNum">    1619 </span>                : #define BOOST_BIND_MF_CC __fastcall
<span class="lineNum">    1620 </span>                : 
<span class="lineNum">    1621 </span>                : #include &lt;boost/bind/bind_mf_cc.hpp&gt;
<span class="lineNum">    1622 </span>                : #include &lt;boost/bind/bind_mf2_cc.hpp&gt;
<span class="lineNum">    1623 </span>                : 
<span class="lineNum">    1624 </span>                : #undef BOOST_BIND_MF_NAME
<span class="lineNum">    1625 </span>                : #undef BOOST_BIND_MF_CC
<span class="lineNum">    1626 </span>                : 
<span class="lineNum">    1627 </span>                : #endif
<span class="lineNum">    1628 </span>                : 
<span class="lineNum">    1629 </span>                : // data member pointers
<span class="lineNum">    1630 </span>                : 
<span class="lineNum">    1631 </span>                : #if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined(BOOST_NO_FUNCTION_TEMPLATE_ORDERING) \
<span class="lineNum">    1632 </span>                :     || ( defined(__BORLANDC__) &amp;&amp; BOOST_WORKAROUND( __BORLANDC__, &lt;= 0x610 ) )
<span class="lineNum">    1633 </span>                : 
<span class="lineNum">    1634 </span>                : template&lt;class R, class T, class A1&gt;
<span class="lineNum">    1635 </span>                : _bi::bind_t&lt; R, _mfi::dm&lt;R, T&gt;, typename _bi::list_av_1&lt;A1&gt;::type &gt;
<span class="lineNum">    1636 </span>                :     BOOST_BIND(R T::*f, A1 a1)
<span class="lineNum">    1637 </span>                : {
<span class="lineNum">    1638 </span>                :     typedef _mfi::dm&lt;R, T&gt; F;
<span class="lineNum">    1639 </span>                :     typedef typename _bi::list_av_1&lt;A1&gt;::type list_type;
<span class="lineNum">    1640 </span>                :     return _bi::bind_t&lt;R, F, list_type&gt;( F(f), list_type(a1) );
<span class="lineNum">    1641 </span>                : }
<span class="lineNum">    1642 </span>                : 
<span class="lineNum">    1643 </span>                : #else
<span class="lineNum">    1644 </span>                : 
<span class="lineNum">    1645 </span>                : namespace _bi
<span class="lineNum">    1646 </span>                : {
<span class="lineNum">    1647 </span>                : 
<span class="lineNum">    1648 </span>                : template&lt; class Pm, int I &gt; struct add_cref;
<span class="lineNum">    1649 </span>                : 
<span class="lineNum">    1650 </span>                : template&lt; class M, class T &gt; struct add_cref&lt; M T::*, 0 &gt;
<span class="lineNum">    1651 </span>                : {
<span class="lineNum">    1652 </span>                :     typedef M type;
<span class="lineNum">    1653 </span>                : };
<span class="lineNum">    1654 </span>                : 
<span class="lineNum">    1655 </span>                : template&lt; class M, class T &gt; struct add_cref&lt; M T::*, 1 &gt;
<span class="lineNum">    1656 </span>                : {
<span class="lineNum">    1657 </span>                :     typedef M const &amp; type;
<span class="lineNum">    1658 </span>                : };
<span class="lineNum">    1659 </span>                : 
<span class="lineNum">    1660 </span>                : template&lt; class R, class T &gt; struct add_cref&lt; R (T::*) (), 1 &gt;
<span class="lineNum">    1661 </span>                : {
<span class="lineNum">    1662 </span>                :     typedef void type;
<span class="lineNum">    1663 </span>                : };
<span class="lineNum">    1664 </span>                : 
<span class="lineNum">    1665 </span>                : #if !( defined(__IBMCPP__) &amp;&amp; BOOST_WORKAROUND( __IBMCPP__, BOOST_TESTED_AT(600) ) )
<span class="lineNum">    1666 </span>                : 
<span class="lineNum">    1667 </span>                : template&lt; class R, class T &gt; struct add_cref&lt; R (T::*) () const, 1 &gt;
<span class="lineNum">    1668 </span>                : {
<span class="lineNum">    1669 </span>                :     typedef void type;
<span class="lineNum">    1670 </span>                : };
<span class="lineNum">    1671 </span>                : 
<span class="lineNum">    1672 </span>                : #endif // __IBMCPP__
<span class="lineNum">    1673 </span>                : 
<span class="lineNum">    1674 </span>                : template&lt;class R&gt; struct isref
<span class="lineNum">    1675 </span>                : {
<span class="lineNum">    1676 </span>                :     enum value_type { value = 0 };
<span class="lineNum">    1677 </span>                : };
<span class="lineNum">    1678 </span>                : 
<span class="lineNum">    1679 </span>                : template&lt;class R&gt; struct isref&lt; R&amp; &gt;
<span class="lineNum">    1680 </span>                : {
<span class="lineNum">    1681 </span>                :     enum value_type { value = 1 };
<span class="lineNum">    1682 </span>                : };
<span class="lineNum">    1683 </span>                : 
<span class="lineNum">    1684 </span>                : template&lt;class R&gt; struct isref&lt; R* &gt;
<span class="lineNum">    1685 </span>                : {
<span class="lineNum">    1686 </span>                :     enum value_type { value = 1 };
<span class="lineNum">    1687 </span>                : };
<span class="lineNum">    1688 </span>                : 
<span class="lineNum">    1689 </span>                : template&lt;class Pm, class A1&gt; struct dm_result
<span class="lineNum">    1690 </span>                : {
<span class="lineNum">    1691 </span>                :     typedef typename add_cref&lt; Pm, 1 &gt;::type type;
<span class="lineNum">    1692 </span>                : };
<span class="lineNum">    1693 </span>                : 
<span class="lineNum">    1694 </span>                : template&lt;class Pm, class R, class F, class L&gt; struct dm_result&lt; Pm, bind_t&lt;R, F, L&gt; &gt;
<span class="lineNum">    1695 </span>                : {
<span class="lineNum">    1696 </span>                :     typedef typename bind_t&lt;R, F, L&gt;::result_type result_type;
<span class="lineNum">    1697 </span>                :     typedef typename add_cref&lt; Pm, isref&lt; result_type &gt;::value &gt;::type type;
<span class="lineNum">    1698 </span>                : };
<span class="lineNum">    1699 </span>                : 
<span class="lineNum">    1700 </span>                : } // namespace _bi
<span class="lineNum">    1701 </span>                : 
<span class="lineNum">    1702 </span>                : template&lt; class A1, class M, class T &gt;
<span class="lineNum">    1703 </span>                : 
<span class="lineNum">    1704 </span>                : _bi::bind_t&lt;
<span class="lineNum">    1705 </span>                :     typename _bi::dm_result&lt; M T::*, A1 &gt;::type,
<span class="lineNum">    1706 </span>                :     _mfi::dm&lt;M, T&gt;,
<span class="lineNum">    1707 </span>                :     typename _bi::list_av_1&lt;A1&gt;::type
<span class="lineNum">    1708 </span>                : &gt;
<span class="lineNum">    1709 </span>                : 
<span class="lineNum">    1710 </span>                : BOOST_BIND( M T::*f, A1 a1 )
<span class="lineNum">    1711 </span>                : {
<span class="lineNum">    1712 </span>                :     typedef typename _bi::dm_result&lt; M T::*, A1 &gt;::type result_type;
<span class="lineNum">    1713 </span>                :     typedef _mfi::dm&lt;M, T&gt; F;
<span class="lineNum">    1714 </span>                :     typedef typename _bi::list_av_1&lt;A1&gt;::type list_type;
<span class="lineNum">    1715 </span>                :     return _bi::bind_t&lt; result_type, F, list_type &gt;( F( f ), list_type( a1 ) );
<span class="lineNum">    1716 </span>                : }
<span class="lineNum">    1717 </span>                : 
<span class="lineNum">    1718 </span>                : #endif
<span class="lineNum">    1719 </span>                : 
<span class="lineNum">    1720 </span>                : } // namespace boost
<span class="lineNum">    1721 </span>                : 
<span class="lineNum">    1722 </span>                : #ifndef BOOST_BIND_NO_PLACEHOLDERS
<span class="lineNum">    1723 </span>                : 
<span class="lineNum">    1724 </span>                : # include &lt;boost/bind/placeholders.hpp&gt;
<span class="lineNum">    1725 </span>                : 
<span class="lineNum">    1726 </span>                : #endif
<span class="lineNum">    1727 </span>                : 
<span class="lineNum">    1728 </span>                : #ifdef BOOST_MSVC
<span class="lineNum">    1729 </span>                : # pragma warning(default: 4512) // assignment operator could not be generated
<span class="lineNum">    1730 </span>                : # pragma warning(pop)
<span class="lineNum">    1731 </span>                : #endif
<span class="lineNum">    1732 </span>                : 
<span class="lineNum">    1733 </span>                : #endif // #ifndef BOOST_BIND_BIND_HPP_INCLUDED
</pre>
      </td>
    </tr>
  </table>
  <br>

  <table width="100%" border=0 cellspacing=0 cellpadding=0>
  <tr><td class="ruler"><img src="../glass.png" width=3 height=3 alt=""></td></tr>
  <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LTP GCOV extension version 1.6</a></td></tr>
  </table>
  <br>

</body>
</html>
